diff --git a/kernel/byterun/rocq_vm_externals.ml b/kernel/byterun/rocq_vm_externals.ml new file mode 100644 index 000000000000..0a02cf5a513f --- /dev/null +++ b/kernel/byterun/rocq_vm_externals.ml @@ -0,0 +1,35 @@ +(************************************************************************) +(* * The Rocq Prover / The Rocq Development Team *) +(* v * Copyright INRIA, CNRS and contributors *) +(* Obj.t = "rocq_accumulate" + +(* rocq_interp.c *) +external push_val : Obj.t -> unit = "rocq_push_val" + +(* rocq_values.c *) +external is_accumulate : Obj.t -> bool = "rocq_is_accumulate_code" + +(* rocq_float64.c *) +external mul : float -> float -> float = "rocq_fmul_byte" "rocq_fmul" +[@@unboxed] [@@noalloc] + +(* rocq_memory.c *) +external init_vm : unit -> unit = "init_rocq_vm" diff --git a/kernel/byterun/rocq_vm_externals.mli b/kernel/byterun/rocq_vm_externals.mli new file mode 100644 index 000000000000..e69de29bb2d1