Update of /cvsroot/gtkpod/libgpod/bindings/python
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27226/bindings/python
Modified Files:
gpod.i.in gpod_doc.i.in
Log Message:
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)
Index: gpod.i.in
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/gpod.i.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gpod.i.in 26 Mar 2007 14:00:54 -0000 1.4
+++ gpod.i.in 27 Apr 2007 16:04:44 -0000 1.5
@@ -102,7 +102,7 @@
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) {
Index: gpod_doc.i.in
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/gpod_doc.i.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gpod_doc.i.in 15 Jan 2007 02:12:04 -0000 1.1
+++ gpod_doc.i.in 27 Apr 2007 16:04:44 -0000 1.2
@@ -19,14 +19,14 @@
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;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2