package py

  1. Overview
  2. Docs
type pyvalue
type t
val create : string -> t
val add_int : t -> string -> int -> unit
val add_string : t -> string -> string -> unit
val add_object : t -> string -> pyvalue -> unit
val add_fn : t -> string -> (Py__.Py_base.pyobject -> pyvalue) -> unit
val capsule_wrapper : unit -> ('a -> Py__.Py_base.pyobject) * (Py__.Py_base.pyobject -> 'a)