Module Ecaml_value__.Ecaml_callback
val register : 'a t -> f:'a -> should_run_holding_async_lock:bool -> unitval dispatch_function : (Ecaml_value__.Caml_embedded_id.t -> Ecaml_value.Value.t array -> Ecaml_value.Value.t) tdispatch_functionis how Emacs calls from C to OCaml.
val end_of_module_initialization : (unit -> unit) tThe C code arranges to call
end_of_module_initializationat the end ofemacs_module_init, which is what Emacs calls to initialize an Ecaml plugin. This is after all the other top-level OCaml code has run.
val free_embedded_caml_values : (Ecaml_value__.Caml_embedded_id.t array -> unit) tfree_embedded_caml_valuesremoves entries for any embeded ocaml values that are not longer used in emacs and are scheduled to be removed. The function runs whenever we enter OCaml from emacs, provided of course that there are values to collect.