Declare caml_*_ops in headers
parent
44c053008a
commit
bab2d10a68
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue