mir.pybind.pyapi

Undocumented in source.

Members

Aliases

PyCFunction
alias PyCFunction = PyObject* function(PyObject*, PyObject*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_ssize_t
alias Py_ssize_t = ptrdiff_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
freefunc
alias freefunc = void function(void*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
inquiry
alias inquiry = int function(PyObject*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
npy_intp
alias npy_intp = ptrdiff_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
traverseproc
alias traverseproc = int function(PyObject*, visitproc, void*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
visitproc
alias visitproc = int function(PyObject*, void*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

METH_VARARGS
anonymousenum METH_VARARGS
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

PyArg_ParseTuple
int PyArg_ParseTuple(PyObject* args, char* format, ...)

for format string, see https://docs.python.org/3/c-api/arg.html#strings-and-buffers

PyArray_SimpleNew
PyObject* PyArray_SimpleNew(int nd, npy_intp* dims, int typenum)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyBool_FromLong
PyObject* PyBool_FromLong(long v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyBuffer_Release
void PyBuffer_Release(Py_buffer* view)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyCapsule_GetPointer
void* PyCapsule_GetPointer(PyObject* capsule, const(char*) name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyErr_Occurred
PyObject* PyErr_Occurred()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyErr_Print
void PyErr_Print()

Error handling

PyErr_SetString
void PyErr_SetString(PyObject* type, char* message)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyFloat_AsDouble
double PyFloat_AsDouble(PyObject* pyfloat)

Basic types

PyFloat_FromDouble
PyObject* PyFloat_FromDouble(double )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyImport_ImportModule
PyObject* PyImport_ImportModule(const(char*) )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsLong
c_long PyLong_AsLong(PyObject* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsLongLong
long PyLong_AsLongLong(PyObject* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsSize_t
size_t PyLong_AsSize_t(PyObject* pylong)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsSsize_t
Py_ssize_t PyLong_AsSsize_t(PyObject* pylong)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsUnsignedLong
c_ulong PyLong_AsUnsignedLong(PyObject* pylong)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_AsUnsignedLongLong
ulong PyLong_AsUnsignedLongLong(PyObject* pylong)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_FromLongLong
PyObject* PyLong_FromLongLong(long )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_FromSize_t
PyObject* PyLong_FromSize_t(size_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_FromSsize_t
PyObject* PyLong_FromSsize_t(ptrdiff_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyLong_FromUnsignedLongLong
PyObject* PyLong_FromUnsignedLongLong(ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyMemoryView_FromBuffer
PyObject* PyMemoryView_FromBuffer(Py_buffer* view)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModule_Create
PyObject* PyModule_Create(PyModuleDef* def)
Undocumented in source. Be warned that the author may not have intended to support it.
PyModule_Create2
PyObject* PyModule_Create2(PyModuleDef* def, int apiver)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyObject_CheckReadBuffer
int PyObject_CheckReadBuffer(PyObject* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyObject_GetAttrString
PyObject* PyObject_GetAttrString(PyObject* , const(char*) )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyObject_GetBuffer
int PyObject_GetBuffer(PyObject* exporter, Py_buffer* view, int flags)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyObject_IsTrue
int PyObject_IsTrue(PyObject* o)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyTuple_New
PyObject* PyTuple_New(Py_ssize_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyTuple_SetItem
int PyTuple_SetItem(PyObject* p, Py_ssize_t pos, PyObject* o)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyUnicode_AsUTF8
const(char*) PyUnicode_AsUTF8(PyObject* unicode)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyUnicode_FromStringAndSize
PyObject* PyUnicode_FromStringAndSize(const(char*) u, Py_ssize_t len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_AtExit
int Py_AtExit(void function() )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_DecRef
void Py_DecRef(PyObject* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_IncRef
void Py_IncRef(PyObject* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
import_array
void import_array()

/ This function must be called in the initialization section of a module that will make use of the C-API

newNone
PyObject* newNone()
Undocumented in source. Be warned that the author may not have intended to support it.
rtAtExit
void rtAtExit()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

PYTHON_ABI_VERSION
enum PYTHON_ABI_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static functions

_import_array
int _import_array()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

PyArray_API
void** PyArray_API;

numpy API

PyExc_AttributeError
PyObject* PyExc_AttributeError;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyExc_ImportError
PyObject* PyExc_ImportError;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyExc_RuntimeError
PyObject* PyExc_RuntimeError;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyExc_TypeError
PyObject* PyExc_TypeError;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyExc_ValueError
PyObject* PyExc_ValueError;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_False
PyObject* Py_False;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_True
PyObject* Py_True;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_Py_NoneStruct
PyObject _Py_NoneStruct;

https://github.com/numpy/numpy/blob/v1.15.4/numpy/core/include/numpy/ndarraytypes.h#L65-L89

misc

Structs

PyMethodDef
struct PyMethodDef
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModuleDef
struct PyModuleDef
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModuleDef_Base
struct PyModuleDef_Base
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModuleDef_Slot
struct PyModuleDef_Slot
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyObject
struct PyObject
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyTypeObject
struct PyTypeObject
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

PyMethodDef_SENTINEL
enum PyMethodDef PyMethodDef_SENTINEL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModuleDef_HEAD_INIT
enum PyModuleDef_Base PyModuleDef_HEAD_INIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta