diff options
Diffstat (limited to 'byterun/custom.c')
-rw-r--r-- | byterun/custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/custom.c b/byterun/custom.c index f90dde908..9f9321e37 100644 --- a/byterun/custom.c +++ b/byterun/custom.c @@ -31,7 +31,7 @@ CAMLextern value alloc_custom(struct custom_operations * ops, wosize = 1 + (size + sizeof(value) - 1) / sizeof(value); if (ops->finalize == NULL && wosize <= Max_young_wosize) { - result = alloc_small(wosize, Custom_tag); + result = caml_alloc_small(wosize, Custom_tag); Custom_ops_val(result) = ops; } else { result = alloc_shr(wosize, Custom_tag); |