summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2008-05-28 10:25:04 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2008-05-28 10:25:04 +0000
commit3a50748da302b71907e80aaed75f15f20eaed456 (patch)
treee4253e84bd145f543a7f7c54f390894ba4fff995
parente97776f5b580f69450f004050ac5706e8402dc13 (diff)
downloadlasso-3a50748da302b71907e80aaed75f15f20eaed456.tar.gz
lasso-3a50748da302b71907e80aaed75f15f20eaed456.tar.xz
lasso-3a50748da302b71907e80aaed75f15f20eaed456.zip
fixed functions returning const GList *
-rw-r--r--bindings/lang_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/lang_python.py b/bindings/lang_python.py
index fc2bdd04..25a4f90e 100644
--- a/bindings/lang_python.py
+++ b/bindings/lang_python.py
@@ -736,7 +736,7 @@ register_constants(PyObject *d)
print >> fd, ' } else {'
print >> fd, ' return_pyvalue = noneRef();'
print >> fd, ' }'
- elif vtype in ('GList*',):
+ elif vtype in ('const GList*', 'GList*',):
elem_type = options.get('elem_type')
if elem_type == 'char*':
print >> fd, ' return_pyvalue = get_list_of_strings(return_value);'