external Package

external Package

class numba.external.PyObject_CallMethodObjArgs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = object
class numba.external.PyNumber_Lshift(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyLong_AsLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = long
class numba.external.PyFloat_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char **]
return_type = object
class numba.external.Py_DecRef(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.Py_IncRef

class numba.external.PyNumber_Divide(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyLong_FromLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
check_pyerr_occurred = False
return_type = object
class numba.external.PyInt_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *, char **, int]
return_type = object
class numba.external.PyLong_AsSsize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = Py_ssize_t
class numba.external.PyLong_FromSize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [size_t]
check_pyerr_occurred = False
return_type = object
class numba.external.PyArg_ParseTuple(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = int
class numba.external.PyNumber_Invert(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.PyFloat_AsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.PyLong_FromSsize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [Py_ssize_t]
check_pyerr_occurred = False
return_type = object
class numba.external.PyFloat_FromDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [float64]
return_type = object
class numba.external.PyNumber_Xor(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyComplex_ImagAsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.PyObject_RichCompareBool(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, int]
badval = -1
return_type = int
class numba.external.PyLong_AsLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = longlong
class numba.external.PyErr_Occurred(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = []
return_type = void *
class numba.external.PyNumber_Multiply(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyNumber_Subtract(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyBool_FromLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
return_type = object
class numba.external.PyComplex_FromDoubles(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [float64, float64]
return_type = object
class numba.external.PyObject_SetItem(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = int
class numba.external.PyObject_Type(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

Added to aid debugging

arg_types = [object]
return_type = object
class numba.external.PyComplex_FromCComplex(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [complex128]
return_type = object
class numba.external.ofunc(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.PyNumber_Or(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyObject_IsTrue(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = int
class numba.external.Py_IncRef(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

return_type = void
class numba.external.PyObject_Length(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

return_type = Py_ssize_t
class numba.external.PyObject_Str(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.PyObject_GetItem(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyNumber_Rshift(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyNumber_And(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyObject_Call(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.PyObject_GetIter(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.PyObject_Print(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, void *, int]
return_type = int
class numba.external.PyNumber_Positive(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.PyNumber_Remainder(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyComplex_RealAsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.PyNumber_Add(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyObject_RichCompare(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, int]
return_type = object
class numba.external.PyNumber_Negative(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.PyErr_Clear(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = []
return_type = void
class numba.external.PyLong_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *, char **, long]
return_type = object
class numba.external.PyComplex_AsCComplex(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = complex128
class numba.external.PyIter_Next(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.PyLong_AsUnsignedLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = ulonglong
class numba.external.PyLong_FromUnsignedLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [ulong]
check_pyerr_occurred = False
return_type = object
class numba.external.PyErr_SetString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
return_type = void
class numba.external.PyObject_GetAttrString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
return_type = object
class numba.external.PyTuple_Pack(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [Py_ssize_t]
is_vararg = True
return_type = object
class numba.external.Py_BuildValue(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
is_vararg = True
return_type = object
class numba.external.PySlice_New(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.PyLong_FromUnsignedLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [ulonglong]
check_pyerr_occurred = False
return_type = object
class numba.external.PyNumber_FloorDivide(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.PyNumber_Power(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.PyLong_FromLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [longlong]
check_pyerr_occurred = False
return_type = object
class numba.external.PyLong_AsUnsignedLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = ulong
class numba.external.PyErr_Format(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = void *
class numba.external.PyObject_CallMethod(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *, char *]
is_vararg = True
return_type = object
class numba.external.llabs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [longlong]
return_type = longlong
class numba.external.labs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
return_type = long
class numba.external.printf(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [void *]
is_vararg = True
return_type = int32
class numba.external.puts(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = int32
class numba.external.atol(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = long
class numba.external.atof(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = float64
class numba.external.atoll(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = longlong
class numba.external.strlen(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = size_t
class numba.external.atoi(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = int

external Module

This module adds a way to declare external functions.

See numba.function_util on how to call them.

class numba.external.external.ExternalFunction(return_type=None, arg_types=None, **kwargs)

Bases: object

arg_types = None
badval = None
check_pyerr_occurred = False
declare_lfunc(context, llvm_module)
exc_args = None
exc_msg = None
exc_type = None
func_name = None
goodval = None
is_vararg = False
name
return_type = None
signature
class numba.external.external.ExternalLibrary(context)

Bases: object

add(extfn)
declare(module, name, arg_types=(), return_type=None)
get(name)

libc Module

class numba.external.libc.llabs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [longlong]
return_type = longlong
class numba.external.libc.labs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
return_type = long
class numba.external.libc.printf(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [void *]
is_vararg = True
return_type = int32
class numba.external.libc.puts(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = int32
class numba.external.libc.atol(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = long
class numba.external.libc.atof(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = float64
class numba.external.libc.atoll(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = longlong
class numba.external.libc.strlen(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = size_t
class numba.external.libc.atoi(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
return_type = int

pyapi Module

class numba.external.pyapi.PyObject_CallMethodObjArgs(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = object
class numba.external.pyapi.PyNumber_Lshift(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyLong_AsLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = long
class numba.external.pyapi.PyFloat_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char **]
return_type = object
class numba.external.pyapi.Py_DecRef(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.Py_IncRef

class numba.external.pyapi.PyNumber_Divide(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyLong_FromLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyInt_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *, char **, int]
return_type = object
class numba.external.pyapi.PyLong_AsSsize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = Py_ssize_t
class numba.external.pyapi.PyLong_FromSize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [size_t]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyArg_ParseTuple(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = int
class numba.external.pyapi.PyNumber_Invert(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.pyapi.PyFloat_AsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.pyapi.PyLong_FromSsize_t(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [Py_ssize_t]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyFloat_FromDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [float64]
return_type = object
class numba.external.pyapi.PyNumber_Xor(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyComplex_ImagAsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.pyapi.PyObject_RichCompareBool(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, int]
badval = -1
return_type = int
class numba.external.pyapi.PyLong_AsLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = longlong
class numba.external.pyapi.PyErr_Occurred(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = []
return_type = void *
class numba.external.pyapi.PyNumber_Multiply(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyNumber_Subtract(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyBool_FromLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [long]
return_type = object
class numba.external.pyapi.PyComplex_FromDoubles(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [float64, float64]
return_type = object
class numba.external.pyapi.PyObject_SetItem(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = int
class numba.external.pyapi.PyObject_Type(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

Added to aid debugging

arg_types = [object]
return_type = object
class numba.external.pyapi.PyComplex_FromCComplex(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [complex128]
return_type = object
class numba.external.pyapi.ofunc(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.pyapi.PyNumber_Or(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyObject_IsTrue(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = int
class numba.external.pyapi.Py_IncRef(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

return_type = void
class numba.external.pyapi.PyObject_Length(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

return_type = Py_ssize_t
class numba.external.pyapi.PyObject_Str(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.pyapi.PyObject_GetItem(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyNumber_Rshift(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyNumber_And(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyObject_Call(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.pyapi.PyObject_GetIter(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.pyapi.PyObject_Print(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, void *, int]
return_type = int
class numba.external.pyapi.PyNumber_Positive(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.pyapi.PyNumber_Remainder(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyComplex_RealAsDouble(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = float64
class numba.external.pyapi.PyNumber_Add(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyObject_RichCompare(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, int]
return_type = object
class numba.external.pyapi.PyNumber_Negative(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.pyapi.ofunc

class numba.external.pyapi.PyErr_Clear(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = []
return_type = void
class numba.external.pyapi.PyLong_FromString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *, char **, long]
return_type = object
class numba.external.pyapi.PyComplex_AsCComplex(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = complex128
class numba.external.pyapi.PyIter_Next(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
return_type = object
class numba.external.pyapi.PyLong_AsUnsignedLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = ulonglong
class numba.external.pyapi.PyLong_FromUnsignedLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [ulong]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyErr_SetString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
return_type = void
class numba.external.pyapi.PyObject_GetAttrString(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
return_type = object
class numba.external.pyapi.PyTuple_Pack(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [Py_ssize_t]
is_vararg = True
return_type = object
class numba.external.pyapi.Py_BuildValue(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [char *]
is_vararg = True
return_type = object
class numba.external.pyapi.PySlice_New(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.pyapi.PyLong_FromUnsignedLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [ulonglong]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyNumber_FloorDivide(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object]
return_type = object
class numba.external.pyapi.PyNumber_Power(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, object, object]
return_type = object
class numba.external.pyapi.PyLong_FromLongLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [longlong]
check_pyerr_occurred = False
return_type = object
class numba.external.pyapi.PyLong_AsUnsignedLong(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object]
check_pyerr_occurred = True
return_type = ulong
class numba.external.pyapi.PyErr_Format(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *]
is_vararg = True
return_type = void *
class numba.external.pyapi.PyObject_CallMethod(return_type=None, arg_types=None, **kwargs)

Bases: numba.external.external.ExternalFunction

arg_types = [object, char *, char *]
is_vararg = True
return_type = object

utility Module

class numba.external.utility.UtilityFunction(funcaddr, return_type, arg_types, **kwargs)

Bases: numba.external.external.ExternalFunction

A utility function written in a native language.

funcaddr: the integer address of the C utility function See ExternalFunction for keyword arguments!

declare_lfunc(context, llvm_module)
classmethod load(func_name, signature, **kwds)

Load a utility function by name from the numba.external.utilities.utilities module.

numba.external.utility.default_utility_library(context)

Create a library of utility functions.

numba.external.utility.load2(name, sig)