summaryrefslogtreecommitdiff
path: root/byterun/interp.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/interp.h')
-rw-r--r--byterun/interp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/byterun/interp.h b/byterun/interp.h
index 075f0ff818..9eb7339405 100644
--- a/byterun/interp.h
+++ b/byterun/interp.h
@@ -18,11 +18,16 @@
#ifndef CAML_INTERP_H
#define CAML_INTERP_H
-
#include "misc.h"
#include "mlvalues.h"
+/* interpret a bytecode */
value caml_interprete (code_t prog, asize_t prog_size);
+/* tell the runtime that a bytecode program might be needed */
+void caml_prepare_bytecode(code_t prog, asize_t prog_size);
+
+/* tell the runtime that a bytecode program is no more needed */
+void caml_release_bytecode(code_t prog, asize_t prog_size);
#endif /* CAML_INTERP_H */