diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-14 16:18:34 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-14 16:18:34 +0000 |
commit | 020a7583ab3fb66b3a4dff49238401424c7c5978 (patch) | |
tree | b3243ac5803d7948289a404e04da35459382c2dd /bindings/python | |
parent | ea39436622d6f9283049804613e4b36d5e944330 (diff) | |
download | lasso-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.py | 2 |
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]) |