1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677(************************************************************************)(* * 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 *)(************************************************************************)openSexplib.StdmoduleNames=Ser_namesmoduleCPrimitives=Ser_cPrimitivesmoduleMod_subst=Ser_mod_substmoduleVmvalues=Ser_vmvaluesmoduleVmbytecodes=Ser_vmbytecodes[@@@ocaml.warning"-37"]type_emitcodes=string[@@derivingsexp]typeemitcodes=Vmemitcodes.emitcodesletsexp_of_emitcodesx=sexp_of__emitcodes(Obj.magicx)letemitcodes_of_sexpx=Obj.magic(_emitcodes_of_sexpx)typereloc_info=|Reloc_annotofVmvalues.annot_switch|Reloc_constofVmvalues.structured_constant|Reloc_getglobalofNames.Constant.t|Reloc_proj_nameofNames.Projection.Repr.t|Reloc_caml_primofCPrimitives.t[@@derivingsexp]type_patches={reloc_infos:(reloc_info*intarray)array;}[@@derivingsexp]typepatches=Vmemitcodes.patchesletpatches_of_sexpp=Obj.magic(_patches_of_sexpp)letsexp_of_patchesp=sexp_of__patches(Obj.magicp)typeto_patch=emitcodes*patches*Vmbytecodes.fv[@@derivingsexp]typebody_code=[%import:Vmemitcodes.body_code][@@derivingsexp](* type _to_patch_substituted =
* | PBCdefined of to_patch Mod_subst.substituted
* | PBCalias of Names.Constant.t Mod_subst.substituted
* | PBCconstant *)(* [@@deriving sexp] *)(* type to_patch_substituted =
* [%import: Vmemitcodes.to_patch_substituted]
*
* let sexp_of_to_patch_substituted =
* Serlib_base.sexp_of_opaque ~typ:"Cemitcodes.to_patch_substituted"
*
* (\* XXX: Dummy value *\)
* let to_patch_substituted_of_sexp _ =
* Obj.magic PBCconstant
* (\* Serlib_base.opaque_of_sexp ~typ:"Cemitcodes.to_patch_substituted" *\) *)