FFI.Constant
type t = private
| PYCBool of bool
| PYCInt of Z.t
| PYCFloat of float
| PYCComplex of {
real : float;
imag : float;
}
| PYCString of string
| PYCInvalidUnicode of int array
| PYCBytes of bytes
| PYCTuple of t array
| PYCFrozenSet of t list
| PYCCode of Code.t
| PYCNone
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val show : ?full:bool -> t -> string
Only shows the name of a PYCCode constant if full is false. Otherwise, shows everything.
PYCCode
full
false
val pp : Stdlib.Format.formatter -> t -> unit
val as_code : t -> Code.t option
val as_name : t -> string option