Update of /cvsroot/gtkpod/libgpod/bindings/python
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11577/python
Modified Files:
gpod.i.in
Log Message:
Add prototypes for wrapper functions. Thanks to Todd Zullinger.
Index: gpod.i.in
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/gpod.i.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gpod.i.in 4 Jan 2007 18:55:38 -0000 1.1
+++ gpod.i.in 14 Jan 2007 20:15:27 -0000 1.2
@@ -38,6 +38,21 @@
#include "itdb.h"
#include "itdb_private.h"
+/* include prototypes for all functions so builds using
+ * -Wmissing-prototypes don't fail. */
+PyObject* sw_get_tracks(Itdb_iTunesDB *itdb);
+PyObject* sw_get_track(GList *list, gint index);
+PyObject* sw_get_rule(GList *list, gint index);
+PyObject* sw_get_playlist(GList *list, gint index);
+PyObject* sw_get_list_len(GList *list);
+PyObject* sw_get_playlists(Itdb_iTunesDB *itdb);
+PyObject* sw_get_playlist_tracks(Itdb_Playlist *pl);
+PyObject* sw_set_track_userdata(Itdb_Track *track, PyObject *data);
+PyObject* sw_get_track_userdata(Itdb_Track *track);
+PyObject *sw__track_extra_duplicate (PyObject *data);
+void sw__track_extra_destroy (PyObject *data);
+void SWIG_init(void);
+
PyObject* sw_get_tracks(Itdb_iTunesDB *itdb) {
PyObject *list;
gint i;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2