package pyml

  1. Overview
  2. Docs

Python 2 specific bindings.

val py_getprogramname : unit -> string
val py_getpythonhome : unit -> string
val py_getprogramfullpath : unit -> string
val py_getprefix : unit -> string
val py_getexecprefix : unit -> string
val py_getpath : unit -> string
val py_setprogramname : string -> unit
val py_setpythonhome : string -> unit
val py_compilestringflags : string -> string -> Pytypes.input -> int Stdlib.ref option -> Pytypes.pyobject
val pyexc_standarderror : unit -> Pytypes.pyobject
val pyeval_getrestricted : unit -> int
val pyinstance_newraw : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pyint_aslong : Pytypes.pyobject -> int64
val pyint_fromlong : int64 -> Pytypes.pyobject
val pyint_getmax : unit -> int64
val pymethod_class : Pytypes.pyobject -> Pytypes.pyobject
val pynumber_inplacedivide : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pynumber_int : Pytypes.pyobject -> Pytypes.pyobject
val pyobject_cmp : Pytypes.pyobject -> Pytypes.pyobject -> int Stdlib.ref -> int
val pyobject_compare : Pytypes.pyobject -> Pytypes.pyobject -> int
val pyobject_unicode : Pytypes.pyobject -> Pytypes.pyobject
val pystring_asstring : Pytypes.pyobject -> string option
val pystring_fromstring : string -> Pytypes.pyobject
val pystring_fromstringandsize : string -> int -> Pytypes.pyobject
val pystring_size : Pytypes.pyobject -> int
OCaml

Innovation. Community. Security.