aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/cemitcodes.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-06-25 13:56:14 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2015-10-16 15:29:40 +0200
commit56925d60207f940ebb88d56981f8cdff41c58247 (patch)
treeeee529a29b75aa06d7bca37f7c2e785db8915c6f /kernel/cemitcodes.mli
parentcbd28511526dfb561017c3d27a73598f6ce5f68d (diff)
Exporting a purely functional interface to bytecode patching.
Diffstat (limited to 'kernel/cemitcodes.mli')
-rw-r--r--kernel/cemitcodes.mli4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/cemitcodes.mli b/kernel/cemitcodes.mli
index 54b92b912..398b60eca 100644
--- a/kernel/cemitcodes.mli
+++ b/kernel/cemitcodes.mli
@@ -13,11 +13,9 @@ val subst_patch : Mod_subst.substitution -> patch -> patch
type emitcodes
-val copy : emitcodes -> emitcodes
-
val length : emitcodes -> int
-val patch_int : emitcodes -> (*pos*)int -> int -> unit
+val patch_int : emitcodes -> ((*pos*)int * int) list -> emitcodes
type to_patch = emitcodes * (patch list) * fv