package ocaml-in-python

  1. Overview
  2. Docs

Module Ocaml_in_python_apiSource

Sourcemodule ExtensibleArray : sig ... end
Sourceval hash_path : int -> Path.t -> int
Sourceval format_label : Format.formatter -> Ppxlib.arg_label -> unit
Sourcemodule Function : sig ... end
Sourcetype value_converter = {
  1. python_of_ocaml : Function.t;
  2. ocaml_of_python : Function.t;
}
Sourcetype 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;
}
Sourcemodule Type : sig ... end
Sourcemodule TypeList : sig ... end
Sourcemodule Paths : sig ... end
Sourcetype variable_index = {
  1. module_index : int;
  2. local_index : int;
}
Sourcemodule IntHashtbl : sig ... end
Sourcetype 'a api = {
  1. api : 'a;
  2. make : Py.Object.t -> Py.Object.t;
}
Sourcetype 'a type_def_info = {
  1. make_capsule : TypeList.t -> unit;
  2. make_api : TypeList.t -> unit;
  3. api_table : 'a api TypeList.Hashtbl.t;
}
Sourceval api_for_type : 'a type_def_info -> Py.Object.t -> 'a
Sourceval variant_table : Py.Object.t array type_def_info IntHashtbl.t
Sourcemodule OpenType : sig ... end
Sourceval capsule_count : int ref
Sourceval get_root_python_module : unit -> Py.Object.t
Sourceval fd_of_int : int -> Unix.file_descr
Sourceval int_of_fd : Unix.file_descr -> int
Sourceval py_of_char : char -> Py.Object.t
Sourceval char_of_py : Py.Object.t -> char
Sourceval bytes_capsule : (bytes -> Py.Object.t) * (Py.Object.t -> bytes)
Sourceval raise_index_out_of_bounds : index:int -> length:int -> 'a
Sourcetype generic_python_function = args_tuple:Py.Object.t -> keywords_dict:Py.Object.t -> Py.Object.t
Sourcemodule PolymorphicFunction : sig ... end
Sourceval get_floatarray : Py.Object.t -> Stdcompat.floatarray
Sourcemodule Extension_constructor : sig ... end
Sourceval exception_class : Py.Object.t ref
Sourceval pending_module_table : Py.Object.t Lazy.t Path.Map.t ref
OCaml

Innovation. Community. Security.