Fix for Windows following merge of GPR#22.
parent
3f9442604c
commit
3878b84d8b
|
@ -77,11 +77,12 @@ static inline void add_to_ref_table (struct caml_ref_table *tbl, value *p)
|
|||
static inline void add_to_ephe_ref_table (struct caml_ephe_ref_table *tbl,
|
||||
value ar, mlsize_t offset)
|
||||
{
|
||||
struct caml_ephe_ref_elt *ephe_ref;
|
||||
if (tbl->ptr >= tbl->limit){
|
||||
CAMLassert (tbl->ptr == tbl->limit);
|
||||
caml_realloc_ephe_ref_table (tbl);
|
||||
}
|
||||
struct caml_ephe_ref_elt *ephe_ref = tbl->ptr++;
|
||||
ephe_ref = tbl->ptr++;
|
||||
ephe_ref->ephe = ar;
|
||||
ephe_ref->offset = offset;
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
native code, or [caml_young_trigger].
|
||||
*/
|
||||
|
||||
struct generic_table CAML_TABLE_STRUCT(void);
|
||||
struct generic_table CAML_TABLE_STRUCT(char);
|
||||
|
||||
asize_t caml_minor_heap_wsz;
|
||||
static void *caml_young_base = NULL;
|
||||
|
|
Loading…
Reference in New Issue