From f3c56a10398802d4cf52aff3480ba9f20a87d310 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 12 Jul 2010 14:09:10 +0000 Subject: [PATCH] [Bindings] make is_rc only check for lasso_error_t type --- bindings/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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