summaryrefslogtreecommitdiffstats
path: root/bindings/utils.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-07-12 14:09:10 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-07-12 14:09:10 +0000
commitf3c56a10398802d4cf52aff3480ba9f20a87d310 (patch)
tree8145ddd1d78c1482e6874d718949d76e5eb91830 /bindings/utils.py
parent553814f90c5901065bd691bb36441da3d38d4667 (diff)
downloadlasso-f3c56a10398802d4cf52aff3480ba9f20a87d310.tar.gz
lasso-f3c56a10398802d4cf52aff3480ba9f20a87d310.tar.xz
lasso-f3c56a10398802d4cf52aff3480ba9f20a87d310.zip
[Bindings] make is_rc only check for lasso_error_t type
Diffstat (limited to 'bindings/utils.py')
-rw-r--r--bindings/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/utils.py b/bindings/utils.py
index 3313e7d7..d5945b82 100644
--- a/bindings/utils.py
+++ b/bindings/utils.py
@@ -246,7 +246,7 @@ def is_list(arg):
return unconstify(arg_type(arg)).startswith('GList')
def is_rc(arg):
- return arg_type(arg) in [ 'int', 'gint', 'lasso_error_t' ]
+ return arg_type(arg) in [ 'lasso_error_t' ]
def is_int(arg, binding_data):
return remove_modifiers(arg_type(arg)) in [ 'time_t', 'int', 'gint', 'long', 'glong', 'lasso_error_t'] + binding_data.enums