diff options
Diffstat (limited to 'swig/iphone.i')
| -rw-r--r-- | swig/iphone.i | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/swig/iphone.i b/swig/iphone.i index 4e604e0..7a003d4 100644 --- a/swig/iphone.i +++ b/swig/iphone.i | |||
| @@ -121,11 +121,9 @@ MobileSync* my_new_MobileSync(Lockdownd* lckd) { | |||
| 121 | return 0; | 121 | return 0; |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | int init_specific_device(int busnumber, int devicenumber) { | 124 | char* serial_number(){ |
| 125 | if (IPHONE_E_SUCCESS == iphone_get_specific_device ( busnumber, devicenumber, &($self->dev))) | 125 | return iphone_get_uuid($self->dev); |
| 126 | return 1; | 126 | } |
| 127 | return 0; | ||
| 128 | } | ||
| 129 | 127 | ||
| 130 | Lockdownd* get_lockdown_client() { | 128 | Lockdownd* get_lockdown_client() { |
| 131 | return my_new_Lockdownd($self); | 129 | return my_new_Lockdownd($self); |
