mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
types.h: make gc_alloc_pair public
This will be used to create the thread context. Partial work towards addressing issue #534.
This commit is contained in:
parent
db6956e5aa
commit
cd4125bb97
1 changed files with 3 additions and 0 deletions
|
@ -1261,6 +1261,9 @@ typedef pair_type *pair;
|
||||||
n->pair_car = a; \
|
n->pair_car = a; \
|
||||||
n->pair_cdr = d;
|
n->pair_cdr = d;
|
||||||
|
|
||||||
|
/** Create a new pair in the thread's heap */
|
||||||
|
void *gc_alloc_pair(gc_thread_data * data, object head, object tail);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set members of the given pair
|
* Set members of the given pair
|
||||||
* @param n - Pointer to a pair object
|
* @param n - Pointer to a pair object
|
||||||
|
|
Loading…
Add table
Reference in a new issue