view runtime/localpointers_fragment.c @ 186:ba35ab624ec2

Add support for raw C function output from C backend as well as an option to use Boehm-GC instead of reference counting
author Mike Pavone <pavone@retrodev.com>
date Fri, 07 Oct 2011 00:10:02 -0700
parents bac2c74801f0
children
line wrap: on
line source

#ifdef RAW_FUNC
rhope_func func_lookup[];
#else
	ct = new_context();
	cdata = alloc_cdata(ct, NULL, callspace);
	cdata->num_params = numparams;
	for(idx = 0; idx < numparams; ++idx)
		cdata->params[idx] = params[idx];
	cdata->func = END;
DISPATCH
#endif