summaryrefslogtreecommitdiff
path: root/byterun/interp.h
diff options
context:
space:
mode:
authorJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2004-06-18 05:04:14 +0000
committerJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2004-06-18 05:04:14 +0000
commit5e1bf20850aaa9b1ceb86a971848609ee9e84c47 (patch)
treef3a6e5b5c38263fe527e6275ff95425f12637226 /byterun/interp.h
parent8ec769214e067da9ee8b33d05f4ef275e9269dd5 (diff)
downloadocaml-gcaml.tar.gz
port to the latest ocaml (2004/06/18)gcaml
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gcaml@6419 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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 */