mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Compilation fixes
This commit is contained in:
parent
8b8af34390
commit
b6c2a353a8
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
||||||
long global_stack_size = 0;
|
long global_stack_size = 0;
|
||||||
long global_heap_size = 0;
|
long global_heap_size = 0;
|
||||||
|
|
||||||
static void c_entry_pt(void *, int, closure, closure);
|
static void c_entry_pt(void *data, object clo, int argc, object *args);
|
||||||
static void Cyc_heap_init(long heap_size);
|
static void Cyc_heap_init(long heap_size);
|
||||||
|
|
||||||
static void Cyc_heap_init(long heap_size)
|
static void Cyc_heap_init(long heap_size)
|
||||||
|
|
|
@ -155,7 +155,7 @@ object Cyc_global_set_cps(void *thd, object cont, object sym, object * glo, obje
|
||||||
object tmp; \
|
object tmp; \
|
||||||
if ((count) > 0) { \
|
if ((count) > 0) { \
|
||||||
for (i = 0; i < (count); i++) { \
|
for (i = 0; i < (count); i++) { \
|
||||||
tmp = arg[start + i]; \
|
tmp = args_var[start + i]; \
|
||||||
var[i].hdr.mark = gc_color_red; \
|
var[i].hdr.mark = gc_color_red; \
|
||||||
var[i].hdr.grayed = 0; \
|
var[i].hdr.grayed = 0; \
|
||||||
var[i].hdr.immutable = 0; \
|
var[i].hdr.immutable = 0; \
|
||||||
|
@ -174,7 +174,7 @@ object Cyc_global_set_cps(void *thd, object cont, object sym, object * glo, obje
|
||||||
|
|
||||||
/**@{*/
|
/**@{*/
|
||||||
object apply(void *data, object cont, object func, object args);
|
object apply(void *data, object cont, object func, object args);
|
||||||
void Cyc_apply(void *data, int argc, closure cont, object prim, ...);
|
void Cyc_apply(void *data, object cont, int argc, object *args);
|
||||||
void dispatch_apply_va(void *data, int argc, object clo, object cont, object func, ...);
|
void dispatch_apply_va(void *data, int argc, object clo, object cont, object func, ...);
|
||||||
object apply_va(void *data, object cont, int argc, object func, ...);
|
object apply_va(void *data, object cont, int argc, object func, ...);
|
||||||
void dispatch(void *data, int argc, function_type func, object clo, object cont,
|
void dispatch(void *data, int argc, function_type func, object clo, object cont,
|
||||||
|
|
Loading…
Add table
Reference in a new issue