mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 13:49:16 +02:00
WIP conversion
This commit is contained in:
parent
92896d2202
commit
c44f7fcc0b
2 changed files with 272 additions and 148 deletions
|
@ -665,9 +665,6 @@ typedef uint32_t char_type;
|
||||||
/** Function type */
|
/** Function type */
|
||||||
typedef void (*function_type) (void *data, object clo, int argc, object *args);
|
typedef void (*function_type) (void *data, object clo, int argc, object *args);
|
||||||
|
|
||||||
/** Primitive function */
|
|
||||||
typedef void (*primitive_function_type)(void *data, object cont, object args);
|
|
||||||
|
|
||||||
/** Non-CPS function type */
|
/** Non-CPS function type */
|
||||||
typedef object (*inline_function_type) ();
|
typedef object (*inline_function_type) ();
|
||||||
|
|
||||||
|
@ -1473,8 +1470,8 @@ typedef closure0_type *macro;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
gc_header_type hdr;
|
gc_header_type hdr;
|
||||||
tag_type tag;
|
tag_type tag;
|
||||||
|
function_type fn;
|
||||||
const char *desc;
|
const char *desc;
|
||||||
primitive_function_type fn;
|
|
||||||
} primitive_type;
|
} primitive_type;
|
||||||
typedef primitive_type *primitive;
|
typedef primitive_type *primitive;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue