Skip to content

Commit be70874

Browse files
committed
add new function to headers
1 parent 46922ed commit be70874

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ocaml/runtime/alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ CAMLexport value caml_alloc_shr_check_gc (mlsize_t wosize, tag_t tag)
100100
}
101101

102102
CAMLexport value caml_alloc_mixed_shr_check_gc (mlsize_t wosize, tag_t tag,
103-
intnat scannable_prefix_len)
103+
mlsize_t scannable_prefix_len)
104104
{
105105
reserved_t reserved =
106106
Reserved_mixed_block_scannable_wosize(scannable_prefix_len);

ocaml/runtime/caml/alloc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ CAMLextern value caml_alloc_9(tag_t, value, value, value, value,
4646
CAMLextern value caml_alloc_small (mlsize_t, tag_t);
4747
CAMLextern value caml_alloc_small_with_reserved (mlsize_t, tag_t, reserved_t);
4848
CAMLextern value caml_alloc_shr_check_gc (mlsize_t, tag_t);
49+
CAMLextern value caml_alloc_mixed_shr_check_gc (mlsize_t, tag_t,
50+
mlsize_t scannable_wosize);
4951
CAMLextern value caml_alloc_tuple (mlsize_t);
5052
CAMLextern value caml_alloc_float_array (mlsize_t len);
5153
CAMLextern value caml_alloc_string (mlsize_t len); /* len in bytes (chars) */

0 commit comments

Comments
 (0)