summaryrefslogtreecommitdiffstats
path: root/swig/iphone.i
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-09-14 15:31:44 +0200
committerGravatar Martin Szulecki2009-09-14 15:31:44 +0200
commit90f2ade2c9f5e242ae05417662147f46ba6c1153 (patch)
tree2c8b05457aec3e85ae34e28b4eee2641263db655 /swig/iphone.i
parent891041b37fb23395cf1a055f64371187d5d59aef (diff)
downloadlibimobiledevice-90f2ade2c9f5e242ae05417662147f46ba6c1153.tar.gz
libimobiledevice-90f2ade2c9f5e242ae05417662147f46ba6c1153.tar.bz2
Update Python bindings to new API
Diffstat (limited to 'swig/iphone.i')
-rw-r--r--swig/iphone.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/swig/iphone.i b/swig/iphone.i
index 3c208ef..ba6345a 100644
--- a/swig/iphone.i
+++ b/swig/iphone.i
@@ -121,13 +121,13 @@ MobileSync* my_new_MobileSync(Lockdownd* lckd) {
}
int init_device_by_uuid(char* uuid) {
- if (IPHONE_E_SUCCESS == iphone_get_device_by_uuid(&($self->dev), uuid))
+ if (IPHONE_E_SUCCESS == iphone_device_new(&($self->dev), uuid))
return 1;
return 0;
}
int init_device() {
- if (IPHONE_E_SUCCESS == iphone_get_device(&($self->dev)))
+ if (IPHONE_E_SUCCESS == iphone_device_new(&($self->dev), NULL))
return 1;
return 0;
}