diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2008-05-28 10:25:04 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2008-05-28 10:25:04 +0000 |
| commit | 3a50748da302b71907e80aaed75f15f20eaed456 (patch) | |
| tree | e4253e84bd145f543a7f7c54f390894ba4fff995 | |
| parent | e97776f5b580f69450f004050ac5706e8402dc13 (diff) | |
| download | lasso-3a50748da302b71907e80aaed75f15f20eaed456.tar.gz lasso-3a50748da302b71907e80aaed75f15f20eaed456.tar.xz lasso-3a50748da302b71907e80aaed75f15f20eaed456.zip | |
fixed functions returning const GList *
| -rw-r--r-- | bindings/lang_python.py | 2 |
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);' |
