Open Table Of Contents

support Package

support Package

cffi_support Module

Support for CFFI. Allows checking whether objects are CFFI functions and obtaining the pointer and numba signature.

numba.support.cffi_support.get_pointer(cffi_func)

Get a pointer to the underlying function for a CFFI function as an integer.

numba.support.cffi_support.get_signature(cffi_func)

Get the numba signature for a CFFI function

numba.support.cffi_support.is_cffi_func(x)
numba.support.cffi_support.is_native_int()

D.__contains__(k) -> True if D has a key k, else False

numba.support.cffi_support.map_type(cffi_type)

Map CFFI type to numba type

ctypes_support Module

numba.support.ctypes_support.from_ctypes_type(ctypes_type)

Convert a ctypes type to a numba type

numba.support.ctypes_support.from_ctypes_value(value)

Convert a ctypes value to a numba type

numba.support.ctypes_support.is_ctypes(value)

Check whether the given value is a ctypes value

numba.support.ctypes_support.is_ctypes_function(value)
numba.support.ctypes_support.is_ctypes_struct_type(ctypes_type)
numba.support.ctypes_support.is_ctypes_type(ctypes_type)
numba.support.ctypes_support.is_ctypes_value(ctypes_value)