summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-04-27 16:04:44 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-04-27 16:04:44 +0000
commita9ea47818b18b3fe5e4439dca7e0f332ea8187b3 (patch)
tree151d5f4f4fccfd9b0fd6952dc2fc59278d6326c2 /bindings
parentb34501302adc66f968ba6b50e21c90527296026e (diff)
downloadlibgpod-tmz-a9ea47818b18b3fe5e4439dca7e0f332ea8187b3.tar.gz
libgpod-tmz-a9ea47818b18b3fe5e4439dca7e0f332ea8187b3.tar.xz
libgpod-tmz-a9ea47818b18b3fe5e4439dca7e0f332ea8187b3.zip
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
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/gpod.i.in2
-rw-r--r--bindings/python/gpod_doc.i.in4
2 files changed, 3 insertions, 3 deletions
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;