Declare caml_*_ops in headers

master
David Allsopp 2020-09-04 15:25:49 +01:00
parent 44c053008a
commit bab2d10a68
2 changed files with 5 additions and 5 deletions

View File

@ -75,6 +75,11 @@ extern struct custom_operations *
caml_final_custom_operations(void (*fn)(value));
extern void caml_init_custom_operations(void);
extern struct custom_operations caml_nativeint_ops;
extern struct custom_operations caml_int32_ops;
extern struct custom_operations caml_int64_ops;
extern struct custom_operations caml_ba_ops;
#endif /* CAML_INTERNALS */
#ifdef __cplusplus

View File

@ -155,11 +155,6 @@ struct custom_operations * caml_final_custom_operations(final_fun fn)
return ops;
}
extern struct custom_operations caml_int32_ops,
caml_nativeint_ops,
caml_int64_ops,
caml_ba_ops;
void caml_init_custom_operations(void)
{
caml_register_custom_operations(&caml_int32_ops);