Skip to content
Go to file
Cannot retrieve contributors at this time
20 lines (16 sloc) 468 Bytes
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
You can’t perform that action at this time.