Mercurial > repos > rhope
comparison runtime/rhopefuncs_epilog.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 |
comparison
equal
deleted
inserted
replaced
185:4580c08fd4e8 | 186:ba35ab624ec2 |
---|---|
1 | 1 #ifdef RAW_FUNC |
2 DispatchVar | |
3 #else | |
2 DO_END: | 4 DO_END: |
3 for(idx = 0; idx < cdata->num_params; ++idx) | 5 for(idx = 0; idx < cdata->num_params; ++idx) |
4 params[idx] = cdata->params[idx]; | 6 params[idx] = cdata->params[idx]; |
5 free_context(ct); | 7 free_context(ct); |
6 return cdata->num_params; | 8 return cdata->num_params; |
34 printf("%d\n", cdata->func); | 36 printf("%d\n", cdata->func); |
35 cdata = cdata->lastframe; | 37 cdata = cdata->lastframe; |
36 } | 38 } |
37 return -1; | 39 return -1; |
38 } | 40 } |
41 #endif //RAW_FUNC | |
39 | 42 |