diff options
| -rw-r--r-- | bindings/lang_python.py | 6 | ||||
| -rw-r--r-- | bindings/overrides.xml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bindings/lang_python.py b/bindings/lang_python.py index 1c9be33f..46980c61 100644 --- a/bindings/lang_python.py +++ b/bindings/lang_python.py @@ -457,6 +457,12 @@ if WSF_SUPPORT: print >> fd, ' if rc == 0:' print >> fd, ' return' print >> fd, ' raise Error.raise_on_rc(rc)' + elif m.return_type == 'GList*' and self.is_pygobject(m.return_type_qualifier): + print >> fd, ' value = _lasso.%s(self._cptr%s)' % ( + function_name, c_args) + print >> fd, ' if value is not None:' + print >> fd, ' value = tuple([x._cptr for x in value])' + print >> fd, ' return value' elif self.is_pygobject(m.return_type): print >> fd, ' return cptrToPy(_lasso.%s(self._cptr%s))' % ( function_name, c_args) diff --git a/bindings/overrides.xml b/bindings/overrides.xml index e08a4d9d..c8415452 100644 --- a/bindings/overrides.xml +++ b/bindings/overrides.xml @@ -25,7 +25,7 @@ <!-- LassoIdentity --> <func name="lasso_identity_get_federation" return_owner="false" /> <func name="lasso_identity_get_svc_md_ids" return_type_qualifier="char*"/> - <func name="lasso_identity_get_offerings"> + <func name="lasso_identity_get_offerings" return_type_qualifier="LassoNode*"> <param name="service_type" optional="true"/> </func> <!-- LassoServer --> |
