1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556(************************************************************************)(* * The Coq Proof Assistant / The Coq Development Team *)(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)(* <O___,, * (see CREDITS file for the list of authors) *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)(************************************************************************)(* Coq serialization API/Plugin *)(* Copyright 2016-2019 MINES ParisTech *)(* Written byo: Emilio J. Gallego Arias *)(************************************************************************)(* Status: Very Experimental *)(************************************************************************)(* open Sexplib *)moduleNames=Ser_namesmoduleMod_subst=Ser_mod_subst[@@@ocaml.warning"-37"]typeemitcodes=String.t(* [@@deriving sexp] *)typereloc_info=|Reloc_annotofVmvalues.annot_switch|Reloc_constofVmvalues.structured_constant|Reloc_getglobalofNames.Constant.t|Reloc_proj_nameofNames.Projection.Repr.ttypepatches={reloc_infos:(reloc_info*intarray)array;}typeto_patch=emitcodes*patches*Vmbytecodes.fv(* [@@deriving sexp] *)type_to_patch_substituted=|PBCdefinedofto_patchMod_subst.substituted|PBCaliasofNames.Constant.tMod_subst.substituted|PBCconstant(* [@@deriving sexp] *)typeto_patch_substituted=[%import:Vmemitcodes.to_patch_substituted]letsexp_of_to_patch_substituted=Serlib_base.sexp_of_opaque~typ:"Cemitcodes.to_patch_substituted"(* XXX: Dummy value *)letto_patch_substituted_of_sexp_=Obj.magicPBCconstant(* Serlib_base.opaque_of_sexp ~typ:"Cemitcodes.to_patch_substituted" *)