X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2FOCamlDriver.cpp;fp=src%2FOCamlDriver.cpp;h=7cf70c5a57f8908e1d7dc709d9fae52cd9504e4e;hb=f481ede5e31e02fad95d3d0659afb905ed9e03c9;hp=ab145ec94b540dc25def0065915cb0ad97eade98;hpb=071e25c710e9a48116f66ddf51bfdca25e20502b;p=SXSI%2Fxpathcomp.git diff --git a/src/OCamlDriver.cpp b/src/OCamlDriver.cpp index ab145ec..7cf70c5 100644 --- a/src/OCamlDriver.cpp +++ b/src/OCamlDriver.cpp @@ -1155,3 +1155,8 @@ extern "C" value caml_bp_save(value b, value file) CAMLreturn(Val_unit); } +extern "C" value caml_bp_alloc_stats(value unit) +{ + CAMLparam1(unit); + CAMLreturn (Val_long(bp_get_alloc_stats())); +}