def get_c_declare(r, name, sub):
 if (any([getattr(c.op, 'check_input', config.check_input) for (c, _) in r.clients if (not isinstance(c, string_types))]) or (r.owner and getattr(r.owner.op, 'check_input', config.check_input))):
  c_declare = r.type.c_declare(name, sub, True)
 else:
  c_declare = r.type.c_declare(name, sub, False)
 pre = ('\n    PyObject* py_%(name)s;\n    ' % locals())
 return (pre + c_declare)

def get_c_declare ( r , name , sub ) : if ( any ( [ getattr ( c . op , 'check_input' , config . check_input ) for ( c , _ ) in r . clients if ( not isinstance ( c , string_types ) ) ] ) or ( r . owner and getattr ( r . owner . op , 'check_input' , config . check_input ) ) ) : c_declare = r . type . c_declare ( name , sub , True ) else : c_declare = r . type . c_declare ( name , sub , False ) pre = ( '\n    PyObject* py_%(name)s;\n    ' % locals ( ) ) return ( pre + c_declare )
wrapper around c_declare that declares py_name .