diff options
author | Nicholas Piper <nicholas@users.sourceforge.net> | 2006-02-25 23:16:40 +0000 |
---|---|---|
committer | Nicholas Piper <nicholas@users.sourceforge.net> | 2006-02-25 23:16:40 +0000 |
commit | e88c820233a5b8c6a8777d117d8b772db2e771a1 (patch) | |
tree | 9de1fa7cce9a1caa065792f02886774a99278a59 | |
parent | 05b158fb458d7a6c3c186e519b801354583e4cd9 (diff) | |
download | libgpod-e88c820233a5b8c6a8777d117d8b772db2e771a1.tar.gz libgpod-e88c820233a5b8c6a8777d117d8b772db2e771a1.tar.xz libgpod-e88c820233a5b8c6a8777d117d8b772db2e771a1.zip |
I think I'm abusing a Swig internal implementation detail here; and they changed it a little. Update so we can still compile. Using swig at least above 1.3.23.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1209 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | bindings/python/gpod.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/gpod.i b/bindings/python/gpod.i index 4b0ea32..11670b8 100644 --- a/bindings/python/gpod.i +++ b/bindings/python/gpod.i @@ -44,7 +44,7 @@ PyObject* sw_get_tracks(Itdb_iTunesDB *itdb) { GList *l; list = PyList_New(g_list_length(itdb->tracks)); for (l = itdb->tracks, i = 0; l; l = l->next, ++i) { - PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Track, 0)); + PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Track, 0)); } return list; } @@ -55,7 +55,7 @@ PyObject* sw_get_playlist_tracks(Itdb_Playlist *pl) { GList *l; list = PyList_New(g_list_length(pl->members)); for (l = pl->members, i = 0; l; l = l->next, ++i) { - PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Track, 0)); + PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Track, 0)); } return list; } @@ -66,7 +66,7 @@ PyObject* sw_get_playlists(Itdb_iTunesDB *itdb) { GList *l; list = PyList_New(g_list_length(itdb->playlists)); for (l = itdb->playlists, i = 0; l; l = l->next, ++i) { - PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Playlist, 0)); + PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Playlist, 0)); } return list; } |