[Bindings] make is_rc only check for lasso_error_t type
This commit is contained in:
parent
553814f90c
commit
f3c56a1039
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue