summaryrefslogtreecommitdiffstats
path: root/byterun/custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/custom.c')
-rw-r--r--byterun/custom.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/byterun/custom.c b/byterun/custom.c
index 3f36a9b66..c814f1d6f 100644
--- a/byterun/custom.c
+++ b/byterun/custom.c
@@ -98,3 +98,17 @@ struct custom_operations * final_custom_operations(final_fun fn)
custom_ops_table = l;
return ops;
}
+
+extern struct custom_operations int32_ops, nativeint_ops;
+#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+extern struct custom_operations int64_ops;
+#endif
+
+void init_custom_operations(void)
+{
+ register_custom_operations(&int32_ops);
+ register_custom_operations(&nativeint_ops);
+#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+ register_custom_operations(&int64_ops);
+#endif
+}