mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Add typecheck
This commit is contained in:
parent
2202b3844f
commit
5f517f6029
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ void gc_init_heap(long heap_size);
|
|||
#define Cyc_check_port(d,obj) Cyc_check_type(d,Cyc_is_port, port_tag, obj)
|
||||
#define Cyc_check_mutex(d,obj) Cyc_check_type(d,Cyc_is_mutex, mutex_tag, obj)
|
||||
#define Cyc_check_cond_var(d,obj) Cyc_check_type(d,Cyc_is_cond_var, cond_var_tag, obj)
|
||||
#define Cyc_check_atomic(d,obj) Cyc_check_type(d,Cyc_is_atomic, atomic_tag, obj)
|
||||
#define Cyc_check_opaque(d,obj) Cyc_check_type(d,Cyc_is_opaque, c_opaque_tag, obj)
|
||||
void Cyc_invalid_type_error(void *data, int tag, object found);
|
||||
void Cyc_immutable_obj_error(void *data, object obj);
|
||||
|
|
Loading…
Add table
Reference in a new issue