summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-05-24 14:44:28 +0200
committerGravatar Martin Szulecki2009-05-24 14:44:28 +0200
commit735a3ab42d92a65a39ea6918aeb1ab784cad0da7 (patch)
tree15973568585031e4244b3a8863503767e4420fa4 /swig
parent36ea32e0064f33d6a285684c3069f4d75bbac7a8 (diff)
parent7272875df87f1feb2c16259880503812f6acbbf1 (diff)
downloadlibimobiledevice-735a3ab42d92a65a39ea6918aeb1ab784cad0da7.tar.gz
libimobiledevice-735a3ab42d92a65a39ea6918aeb1ab784cad0da7.tar.bz2
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
Diffstat (limited to 'swig')
-rw-r--r--swig/iphone.i8
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) {
return 0;
}
- int init_specific_device(int busnumber, int devicenumber) {
- if (IPHONE_E_SUCCESS == iphone_get_specific_device ( busnumber, devicenumber, &($self->dev)))
- return 1;
- return 0;
- }
+ char* serial_number(){
+ return iphone_get_uuid($self->dev);
+ }
Lockdownd* get_lockdown_client() {
return my_new_Lockdownd($self);