Mercurial > repos > rhope
diff 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 diff
--- a/runtime/localpointers_fragment.c Wed Jul 27 21:32:40 2011 -0700 +++ b/runtime/localpointers_fragment.c Fri Oct 07 00:10:02 2011 -0700 @@ -1,3 +1,6 @@ +#ifdef RAW_FUNC +rhope_func func_lookup[]; +#else ct = new_context(); cdata = alloc_cdata(ct, NULL, callspace); cdata->num_params = numparams; @@ -5,4 +8,6 @@ cdata->params[idx] = params[idx]; cdata->func = END; DISPATCH +#endif +