summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-14 16:18:34 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-14 16:18:34 +0000
commit020a7583ab3fb66b3a4dff49238401424c7c5978 (patch)
treeb3243ac5803d7948289a404e04da35459382c2dd /bindings/python
parentea39436622d6f9283049804613e4b36d5e944330 (diff)
downloadlasso-020a7583ab3fb66b3a4dff49238401424c7c5978.tar.gz
lasso-020a7583ab3fb66b3a4dff49238401424c7c5978.tar.xz
lasso-020a7583ab3fb66b3a4dff49238401424c7c5978.zip
Bindings python: use is_cstring for matching GList element type
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/lang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py
index 417a59da..3c3e688f 100644
--- a/bindings/python/lang.py
+++ b/bindings/python/lang.py
@@ -870,7 +870,7 @@ register_constants(PyObject *d)
continue
if is_list(arg):
qualifier = element_type(arg)
- if qualifier == 'char*' or qualifier == 'utf8':
+ if is_cstring(qualifier):
print >> fd, ' set_list_of_strings(&%s, cvt_%s);' % (arg[1], arg[1])
elif qualifier == 'xmlNode*':
print >> fd, ' set_list_of_xml_nodes(&%s, cvt_%s);' % (arg[1], arg[1])