コード例 #1
0
CAMLexport void caml_init_debug_info(void)
{
  caml_ext_table_init(&caml_debug_info, 1);
  caml_add_debug_info(caml_start_code, Val_long(caml_code_size), Val_unit);
}
コード例 #2
0
ファイル: backtrace.c プロジェクト: dhil/ocaml-effects
CAMLexport void caml_init_debug_info()
{
  caml_register_global_root(&caml_debug_info);
  caml_add_debug_info(caml_start_code, Val_long(caml_code_size), Val_unit);
}