Skip to content

__nexus_codegen_emit_mex__

builtin · libnexusinterp/corefcn/jit-enable-proprietary.cc

: ok = __nexus_codegen_emit_mex__ (fcn, path, ex1, …)
: ok = __nexus_codegen_emit_mex__ (fcn, path, excell)

Emit a C mexFunction shared library for a fixed-size numeric leaf (nexus#1587) or an invkin-shaped body the numeric JIT can lower (nexus#1588: colon loops, multi-return, struct fields, user calls). Returns true when path was written. Bodies outside the subset return false so codegen can keep the forwarder.