From d7d2d85d3158be06c09593b2e60bbd2003f58323 Mon Sep 17 00:00:00 2001 From: jcsjcs Date: Fri, 27 Apr 2007 16:04:44 +0000 Subject: Namespace cleanup part II (python bindings and documentation). structs: SPLPref -> Itdb_SPLPref SPLRules -> Itdb_SPLRules SPLRule -> Itdb_SPLRule SPL_* -> ITDB_SPL_* enums, #defines: LIMITTYPE_* -> ITDB_LIMITTYPE_* LIMITSORT_* -> ITDB_LIMITSORT_* SPLMATCH_* -> ITDB_SPLMATCH_* SPLACTION_* -> ITDB_SPLACTION_* SPLFIELD_* -> ITDB_SPLFIELD_* SPLDATE_IDENTIFIER -> ITDB_SPL_DATE_IDENTIFIER splft_* -> ITDB_SPLFT_* splat_* -> ITDB_SPLAT_* enum SPLAction -> ItdbSPLAction enum SPLActionType -> ItdbSPLActionType enum SPLField -> ItdbSPLField enum SPLFieldType -> ItdbSPLFieldType enum ItdbLimitType (new) enum ItdbLimitSort (new) enum ItdbSPLMatch (new) removed SPL_MAXSTRINGLENGTH (use ITDB_SPL_STRING_MAXLEN) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1419 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- bindings/python/gpod.i.in | 2 +- bindings/python/gpod_doc.i.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bindings/python') diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in index dce072b..e13d738 100644 --- a/bindings/python/gpod.i.in +++ b/bindings/python/gpod.i.in @@ -102,7 +102,7 @@ PyObject* sw_get_rule(GList *list, gint index) { return NULL; } position = g_list_nth(list, index); - return SWIG_NewPointerObj((void*)(position->data), SWIGTYPE_p__SPLRule, 0); + return SWIG_NewPointerObj((void*)(position->data), SWIGTYPE_p__Itdb_SPLRule, 0); } PyObject* sw_get_playlist(GList *list, gint index) { diff --git a/bindings/python/gpod_doc.i.in b/bindings/python/gpod_doc.i.in index fa25c12..87553a6 100644 --- a/bindings/python/gpod_doc.i.in +++ b/bindings/python/gpod_doc.i.in @@ -19,14 +19,14 @@ index: position of the track Returns: an Itdb_Track ") sw_get_track; -%feature("autodoc", "sw_get_rule(GList list, gint index) -> SPLRule") sw_get_rule; +%feature("autodoc", "sw_get_rule(GList list, gint index) -> Itdb_SPLRule") sw_get_rule; %feature("docstring", " Get a rule Parameters list: a GList index: position of the rule -Returns: an SPLRule +Returns: an Itdb_SPLRule ") sw_get_rule; %feature("autodoc", "sw_get_playlist(GList list, gint index) -> Itdb_Playlist") sw_get_playlist; -- cgit