diff options
Diffstat (limited to 'bindings/php5/php_code.py')
| -rw-r--r-- | bindings/php5/php_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/php5/php_code.py b/bindings/php5/php_code.py index 1e3fdcad..4758c1bd 100644 --- a/bindings/php5/php_code.py +++ b/bindings/php5/php_code.py @@ -340,7 +340,7 @@ function lassoRegisterIdWsf2DstService($prefix, $href) { format_underscore_as_camelcase(mname), php_args) if m.return_type == 'void': print >> self.fd, ' %s($this->_cptr%s);' % (cname, c_args) - elif m.return_type in ('gint', 'int'): + elif is_rc(m.return_type): print >> self.fd, ' $rc = %s($this->_cptr%s);' % (cname, c_args) print >> self.fd, ' if ($rc == 0) {' print >> self.fd, ' return 0;' |
