Ajout primitive get_current_environment pour la trace.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1995-09-14 11:52:50 +00:00
parent 09fb8169aa
commit d2f75f7f8b
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "misc.h"
#include "mlvalues.h"
#include "prims.h"
#include "stacks.h"
value get_global_data(unit) /* ML */
value unit;
@ -63,3 +64,8 @@ value available_primitives() /* ML */
{
return copy_string_array(names_of_cprim);
}
value get_current_environment() /* ML */
{
return *extern_sp;
}