package ocaml-in-python

  1. Overview
  2. Docs
module ExtensibleArray : sig ... end
val hash_path : int -> Path.t -> int
val format_label : Format.formatter -> Ppxlib.arg_label -> unit
module Function : sig ... end
type value_converter = {
  1. python_of_ocaml : Function.t;
  2. ocaml_of_python : Function.t;
}
type converters_of_arity = {
  1. python_args : Ppxlib.expression;
  2. python_dict : Ppxlib.expression;
  3. ocaml_pats : (Ppxlib.arg_label * Ppxlib.pattern) list;
  4. ocaml_exps : (Ppxlib.arg_label * Ppxlib.expression) list;
}
module Type : sig ... end
module TypeList : sig ... end
module Paths : sig ... end
type variable_index = {
  1. module_index : int;
  2. local_index : int;
}
val array_capsules : variable_index Type.Hashtbl.t
val array_api : Py.Object.t Type.Hashtbl.t
val list_capsules : variable_index Type.Hashtbl.t
val tuple_capsules : variable_index TypeList.Hashtbl.t
module IntHashtbl : sig ... end
type 'a api = {
  1. api : 'a;
  2. make : Py.Object.t -> Py.Object.t;
}
type 'a type_def_info = {
  1. make_capsule : TypeList.t -> unit;
  2. make_api : TypeList.t -> unit;
  3. api_table : 'a api TypeList.Hashtbl.t;
}
val api_for_type : 'a type_def_info -> Py.Object.t -> 'b
val variant_table : Py.Object.t array type_def_info IntHashtbl.t
module OpenType : sig ... end
val capsule_count : int ref
val get_root_python_module : unit -> Py.Object.t
val fd_of_int : int -> Unix.file_descr
val int_of_fd : Unix.file_descr -> int
val py_of_char : char -> Py.Object.t
val char_of_py : Py.Object.t -> char
val bytes_capsule : (bytes -> Py.Object.t) * (Py.Object.t -> bytes)
val raise_index_out_of_bounds : index:int -> length:int -> 'a
type generic_python_function = args_tuple:Py.Object.t -> keywords_dict:Py.Object.t -> Py.Object.t
module PolymorphicFunction : sig ... end
val get_floatarray : Py.Object.t -> Stdcompat.floatarray
module Extension_constructor : sig ... end
val exception_class : Py.Object.t ref
val pending_module_table : Py.Object.t Lazy.t Path.Map.t ref
val pending_modules : Py.Object.t Lazy.t ExtensibleArray.t
OCaml

Innovation. Community. Security.