caml_clear_bytecode renamed as caml_release_bytecode

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6221 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Basile Starynkevitch 2004-04-16 13:20:58 +00:00
parent 2cb1a50144
commit bc5de7f65e
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */