summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authornicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-11-27 17:24:57 +0000
committernicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-11-27 17:24:57 +0000
commit4fcd9a5b8b357576957ba7f9028573e45010c0bc (patch)
treef03271d4abe870f1ed7f997d1cd21d8de10f2e07 /bindings/python
parentfff21c6ef0bb51e4408e351adbf4cb311268ff93 (diff)
downloadlibgpod-4fcd9a5b8b357576957ba7f9028573e45010c0bc.tar.gz
libgpod-4fcd9a5b8b357576957ba7f9028573e45010c0bc.tar.xz
libgpod-4fcd9a5b8b357576957ba7f9028573e45010c0bc.zip
Add a comment about unicode
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1176 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/gpod.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/python/gpod.i b/bindings/python/gpod.i
index a295240..4cf224a 100644
--- a/bindings/python/gpod.i
+++ b/bindings/python/gpod.i
@@ -68,7 +68,11 @@ PyObject* sw_get_playlists(Itdb_iTunesDB *itdb) {
}
%}
+# be nicer to decode these utf8 strings into Unicode objects in the C
+# layer. Here we are leaving it to the Python side, and just giving
+# them utf8 encoded Strings.
typedef char gchar;
+
typedef int gboolean;
typedef int gint32;
typedef unsigned int guint32;