caml_clear_bytecode renamed as caml_release_bytecode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6221 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
2cb1a50144
commit
bc5de7f65e
|
@ -1055,7 +1055,7 @@ value caml_interprete(code_t prog, asize_t prog_size)
|
|||
#endif
|
||||
}
|
||||
|
||||
void caml_clear_bytecode(code_t prog, asize_t prog_size) {
|
||||
void caml_release_bytecode(code_t prog, asize_t prog_size) {
|
||||
/* other implementations of the interpreter (such as an hypothetical
|
||||
JIT translator) might want to know when a bytecode is removed */
|
||||
/* check that we have a program */
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
value caml_interprete (code_t prog, asize_t prog_size);
|
||||
|
||||
/* tell the runtime that a bytecode program is no more needed */
|
||||
void caml_clear_bytecode(code_t prog, asize_t prog_size);
|
||||
void caml_release_bytecode(code_t prog, asize_t prog_size);
|
||||
|
||||
#endif /* CAML_INTERP_H */
|
||||
|
|
Loading…
Reference in New Issue