Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
Contains unsafe intrinsic that calls NRT C API
from numba.core import types
from numba.core.typing import signature
from numba.core.extending import intrinsic
def NRT_get_api(tyctx):
Calls NRT_get_api() from the NRT C API
Returns LLVM Type i8* (void pointer)
def codegen(cgctx, builder, sig, args):
return cgctx.nrt.get_nrt_api(builder)
sig = signature(types.voidptr)
return sig, codegen