type pyobject = unit Ctypes.ptr
val pyobject : pyobject Ctypes.typ
exception Python_not_found
val already_initialized : bool
type wchar_string = unit Ctypes.ptr
val wchar_string : wchar_string Ctypes.typval is_darwin : boolval ext : stringval open_lib : string -> Dl.libraryval find_lib : unit -> Dl.libraryval from_lib : unit -> Dl.libraryval from : Dl.libraryval _Py_NoneStruct : unit Ctypes.ptrval _PyObject_RichCompareBool : pyobject -> pyobject -> int -> boolval _PyMem_RawFree : unit Ctypes_static.ptr -> unitval _Py_DecodeLocale : string -> unit Ctypes_static.ptr -> wchar_stringval _Py_SetProgramName : wchar_string -> unitval _PySys_SetArgvEx : int -> wchar_string Ctypes_static.ptr -> int -> unitval _PyObject_GetIter : pyobject -> pyobjectval _PyIter_Next : pyobject -> pyobjectval _PyObject_Str : pyobject -> pyobjectval _PyObject_Bytes : pyobject -> pyobjectval _PyObject_Length : pyobject -> int64val _PyObject_Call : pyobject -> pyobject -> pyobject -> pyobjectval _PyObject_GetItem : pyobject -> pyobject -> pyobjectval _PyObject_DelItem : pyobject -> pyobject -> intval _PyObject_SetItem : pyobject -> pyobject -> pyobject -> intval _PyObject_GetAttr : pyobject -> pyobject -> pyobjectval _PyObject_GetAttrString : pyobject -> string -> pyobjectval _PyObject_SetAttr : pyobject -> pyobject -> pyobject -> intval _PyObject_HasAttr : pyobject -> pyobject -> boolval _PyUnicode_AsUTF8 : pyobject -> stringval _PyUnicode_FromStringAndSize : string -> int64 -> pyobjectval _PyBytes_AsString : pyobject -> stringval _PyBytes_FromStringAndSize : string -> int64 -> pyobjectval _PyLong_AsLong : pyobject -> intval _PyLong_FromLong : int -> pyobjectval _PyLong_AsLongLong : pyobject -> int64val _PyLong_FromLongLong : int64 -> pyobjectval _PyFloat_AsDouble : pyobject -> floatval _PyFloat_FromDouble : float -> pyobjectval _PyObject_IsTrue : pyobject -> intval _PyBool_FromLong : int -> pyobjectval _Py_IncRef : pyobject -> unitval _Py_DecRef : pyobject -> unitval _Py_InitializeEx : int -> unitval _Py_Finalize : unit -> unitval _PyEval_InitThreads : unit -> unitval _PyEval_GetLocals : unit -> pyobjectval _PyEval_GetGlobals : unit -> pyobjectval _PyEval_GetBuiltins : unit -> pyobjectval _PyRun_SimpleStringFlags : string -> unit Ctypes_static.ptr -> boolval _PyRun_StringFlags : string -> int -> pyobject -> pyobject -> unit Ctypes_static.ptr -> pyobjectval _PyErr_Clear : unit -> unitval _PyErr_Fetch : pyobject Ctypes_static.ptr -> pyobject Ctypes_static.ptr -> pyobject Ctypes_static.ptr -> intval _PyErr_Occurred : unit -> intval _PyErr_SetString : pyobject -> string -> unitval _PyExc_RuntimeError : pyobject Ctypes.ptrval _PyModule_GetDict : pyobject -> pyobjectval _PyModuleAddIntConstant : pyobject -> string -> int -> intval _PyModuleAddStringConstant : pyobject -> string -> string -> intval _PyModuleAddObject : pyobject -> string -> pyobject -> intval _PyImport_AddModule : string -> pyobjectval _PyImport_Import : pyobject -> pyobjectval _PyImport_ReloadModule : pyobject -> pyobjectval _PyImport_GetModuleDict : unit -> pyobjectval _PyDict_New : unit -> pyobjectval _PyDict_Items : pyobject -> pyobjectval _PyDict_Values : pyobject -> pyobjectval _PyDict_Keys : pyobject -> pyobjectval _PyDict_Contains : pyobject -> pyobject -> intval _PyDict_Merge : pyobject -> pyobject -> bool -> intval _PyDict_Copy : pyobject -> pyobjectval _PyDict_Clear : pyobject -> unitval _PyTuple_New : int64 -> pyobjectval _PyTuple_SetItem : pyobject -> int64 -> pyobject -> intval _PyList_New : int64 -> pyobjectval _PyList_SetItem : pyobject -> int64 -> pyobject -> intval _PyList_Insert : pyobject -> int64 -> pyobject -> intval _PyList_Append : pyobject -> pyobject -> intval _PyList_GetSlice : pyobject -> int64 -> int64 -> pyobjectval _PyList_SetSlice : pyobject -> int64 -> int64 -> pyobject -> intval _PyList_Sort : pyobject -> intval _PyList_Reverse : pyobject -> intval _PyList_AsTuple : pyobject -> pyobjectval _PySet_New : pyobject -> pyobjectval _PySequence_Concat : pyobject -> pyobject -> pyobjectval _PySequence_InPlaceConcat : pyobject -> pyobject -> pyobjectval _PySequence_Contains : pyobject -> pyobject -> intval _PyNumber_Add : pyobject -> pyobject -> pyobjectval _PyNumber_Subtract : pyobject -> pyobject -> pyobjectval _PyNumber_Multiply : pyobject -> pyobject -> pyobjectval _PyNumber_MatrixMultiply : pyobject -> pyobject -> pyobjectval _PyNumber_FloorDivide : pyobject -> pyobject -> pyobjectval _PyNumber_TrueDivide : pyobject -> pyobject -> pyobjectval _PyNumber_Remainder : pyobject -> pyobject -> pyobjectval _PyNumber_Divmod : pyobject -> pyobject -> pyobjectval _PyNumber_Negative : pyobject -> pyobjectval _PyNumber_Positive : pyobject -> pyobjectval _PyNumber_Absolute : pyobject -> pyobjectval _PyNumber_Invert : pyobject -> pyobjectval _PyNumber_Power : pyobject -> pyobject -> pyobjectval _PyNumber_Lshift : pyobject -> pyobject -> pyobjectval _PyNumber_Rshift : pyobject -> pyobject -> pyobjectval _PyNumber_And : pyobject -> pyobject -> pyobjectval _PyNumber_Or : pyobject -> pyobject -> pyobjectval _PyNumber_Xor : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceAdd : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceSubtract : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceMultiply : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceMatrixMultiply : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceFloorDivide : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceTrueDivide : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceRemainder : pyobject -> pyobject -> pyobjectval _PyNumber_InPlacePower : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceLshift : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceRshift : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceAnd : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceOr : pyobject -> pyobject -> pyobjectval _PyNumber_InPlaceXor : pyobject -> pyobject -> pyobjectval _PyCell_New : pyobject -> pyobjectval _PyCell_Get : pyobject -> pyobjectval _PyCell_Set : pyobject -> pyobject -> intval _PyWeakref_NewRef : pyobject -> pyobject -> pyobjectval _PyWeakref_NewProxy : pyobject -> pyobject -> pyobjectval _PyWeakref_GetObject : pyobject -> pyobject
type thread = unit Ctypes.ptr
val thread : thread Ctypes.typval _PyEval_SaveThread : unit -> threadval _PyEval_RestoreThread : thread -> unitval _PyThreadState_Get : unit -> threadval _PyThreadState_Swap : thread -> threadval _PyThreadState_Clear : thread -> unitval _PyThreadState_Delete : thread -> unitval _PyThreadState_GetDict : thread -> pyobjectval _PyThreadState_Next : thread -> threadval _Py_NewInterpreter : unit -> threadval _Py_EndInterpreter : thread -> unit
type _Py_buffer
val _Py_buffer : _Py_buffer Ctypes.structure Ctypes.typval buf : (char Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.fieldval obj : (unit Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.fieldval len : (int64, _Py_buffer Ctypes.structure) Ctypes.fieldval readonly : (int, _Py_buffer Ctypes.structure) Ctypes.fieldval itemsize : (int64, _Py_buffer Ctypes.structure) Ctypes.fieldval format : (string, _Py_buffer Ctypes.structure) Ctypes.fieldval ndim : (int, _Py_buffer Ctypes.structure) Ctypes.fieldval shape : (int64 Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.fieldval strides : (int64 Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.fieldval suboffsets : (int64 Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.fieldval internal : (unit Ctypes_static.ptr, _Py_buffer Ctypes.structure) Ctypes.field
type pybuffer = _Py_buffer Ctypes.structure Ctypes.ptr
val pybuffer : _Py_buffer Ctypes.structure Ctypes_static.ptr Ctypes.typval _PyObject_GetBuffer : pyobject -> _Py_buffer Ctypes.structure Ctypes_static.ptr -> int -> intval _PyBuffer_Release : _Py_buffer Ctypes.structure Ctypes_static.ptr -> unitval _PyByteArray_FromObject : pyobject -> pyobjectval _PyByteArray_AsString : pyobject -> char Ctypes_static.ptrval _PyByteArray_Size : pyobject -> int64val _PyByteArray_FromStringAndSize : char Ctypes_static.ptr -> int64 -> pyobjectval _PySlice_New : pyobject -> pyobject -> pyobject -> pyobject
type _Py_method
val _Py_method : _Py_method Ctypes.structure Ctypes.typval ml_name : (string, _Py_method Ctypes.structure) Ctypes.fieldval ml_meth : (pyobject -> pyobject -> pyobject, _Py_method Ctypes.structure) Ctypes.fieldval ml_flags : (int, _Py_method Ctypes.structure) Ctypes.fieldval ml_doc : (string, _Py_method Ctypes.structure) Ctypes.fieldval pymethod : _Py_method Ctypes.structure Ctypes_static.ptr Ctypes.typval _PyCFunction_New : _Py_method Ctypes.structure Ctypes_static.ptr -> pyobject -> pyobject -> pyobjectval _PyCapsule_New : unit Ctypes_static.ptr -> char Ctypes_static.ptr -> (pyobject -> unit) -> pyobjectval _PyCapsule_GetPointer : pyobject -> char Ctypes_static.ptr -> unit Ctypes_static.ptr
type _Py_type_object
val _Py_type_object : _Py_type_object Ctypes.structure Ctypes.typval tp_refcnt : (PosixTypes.ssize_t, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_type : (_Py_type_object Ctypes.structure Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_size : (PosixTypes.ssize_t, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_name : (string, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_basicsize : (PosixTypes.ssize_t, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_itemsize : (PosixTypes.ssize_t, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_dealloc : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_print : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_getattr : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_setattr : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_as_async : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_repr : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_as_number : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_as_sequence : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_as_mapping : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_hash : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_call : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_str : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_getattro : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_setattro : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_as_buffer : (unit Ctypes_static.ptr, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_flags : (Unsigned.ulong, _Py_type_object Ctypes.structure) Ctypes.fieldval tp_doc : (string, _Py_type_object Ctypes.structure) Ctypes.field
type _Py_object
val _Py_object : _Py_object Ctypes.structure Ctypes.typval ob_refcnt : (PosixTypes.ssize_t, _Py_object Ctypes.structure) Ctypes.fieldval ob_type : (_Py_type_object Ctypes.structure Ctypes_static.ptr, _Py_object Ctypes.structure) Ctypes.fieldval _PyFloat_Type : _Py_type_object Ctypes.structure Ctypes.ptr