package pyml

  1. Overview
  2. Docs

Python 3 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_compilestringexflags : string -> string -> Pytypes.input -> int Stdlib.ref option -> int -> Pytypes.pyobject
val pybytes_asstring : Pytypes.pyobject -> string option
val pybytes_fromstring : string -> Pytypes.pyobject
val pybytes_fromstringandsize : string -> int -> Pytypes.pyobject
val pybytes_size : Pytypes.pyobject -> int
val pyimport_execcodemodulewithpathnames : string -> Pytypes.pyobject -> string -> string -> Pytypes.pyobject
val pyimport_importmodulelevelobject : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject -> int -> Pytypes.pyobject
val pyinstancemethod_new : Pytypes.pyobject -> Pytypes.pyobject
val pyunicode_asencodedstring : Pytypes.pyobject -> string -> string -> Pytypes.pyobject
val pyunicode_asutf8string : Pytypes.pyobject -> Pytypes.pyobject
val pyunicode_asutf16string : Pytypes.pyobject -> Pytypes.pyobject
val pyunicode_asutf32string : Pytypes.pyobject -> Pytypes.pyobject
val pyunicode_decodeutf8 : string -> int -> string option -> Pytypes.pyobject
val pyunicode_decodeutf16 : string -> int -> string option -> int Stdlib.ref -> Pytypes.pyobject
val pyunicode_decodeutf32 : string -> int -> string option -> int Stdlib.ref -> Pytypes.pyobject
val pyunicode_fromstring : string -> Pytypes.pyobject
val pyunicode_fromstringandsize : string -> int -> Pytypes.pyobject
val pyunicode_getlength : Pytypes.pyobject -> int
val pyunicode_getsize : Pytypes.pyobject -> int
val pyunicode_fromkindanddata : int -> int array -> int -> Pytypes.pyobject
val pyunicode_asucs4copy : Pytypes.pyobject -> int array option
OCaml

Innovation. Community. Security.