Beispiel #1
0
static void closure_fcn(ffi_cif *cif,
			void *resp,
			void **args,
			void *userdata)
{
	ffi_info *p = userdata;

	_CallPythonObject(resp,
			  p->restype,
			  p->setfunc,
			  p->callable,
			  p->converters,
			  args);
}
static void closure_fcn(ffi_cif *cif,
			void *resp,
			void **args,
			void *userdata)
{
	CThunkObject *p = (CThunkObject *)userdata;

	_CallPythonObject(resp,
			  p->ffi_restype,
			  p->setfunc,
			  p->callable,
			  p->converters,
			  p->flags,
			  args);
}