mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-06 12:46:35 +02:00
Relocated prorotypes to common place
This commit is contained in:
parent
cfdac7963d
commit
42b524f9cb
1 changed files with 5 additions and 5 deletions
10
cyclone.h
10
cyclone.h
|
@ -264,11 +264,6 @@ static const object primitive_##name = &name##_primitive
|
||||||
#define prim(x) (x && ((primitive)x)->tag == primitive_tag)
|
#define prim(x) (x && ((primitive)x)->tag == primitive_tag)
|
||||||
#define prim_name(x) (((primitive_type *) x)->pname)
|
#define prim_name(x) (((primitive_type *) x)->pname)
|
||||||
|
|
||||||
|
|
||||||
void dispatch(int argc, function_type func, object clo, object cont, object args);
|
|
||||||
void dispatch_va(int argc, function_type_va func, object clo, object cont, object args);
|
|
||||||
void do_dispatch(int argc, function_type func, object clo, object *buffer);
|
|
||||||
|
|
||||||
/* All constant-size objects */
|
/* All constant-size objects */
|
||||||
typedef union {
|
typedef union {
|
||||||
boolean_type boolean_t;
|
boolean_type boolean_t;
|
||||||
|
@ -284,4 +279,9 @@ typedef union {
|
||||||
void Cyc_rt_raise(object err);
|
void Cyc_rt_raise(object err);
|
||||||
void Cyc_rt_raise_msg(const char *err);
|
void Cyc_rt_raise_msg(const char *err);
|
||||||
|
|
||||||
|
void dispatch(int argc, function_type func, object clo, object cont, object args);
|
||||||
|
void dispatch_va(int argc, function_type_va func, object clo, object cont, object args);
|
||||||
|
void do_dispatch(int argc, function_type func, object clo, object *buffer);
|
||||||
|
|
||||||
|
|
||||||
#endif /* CYCLONE_H */
|
#endif /* CYCLONE_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue