#[unsafe(no_mangle)]pub extern "C" fn pxs_newfactory(
func: pxs_Func,
args: *mut pxs_Var,
) -> pxs_VarTExpand description
Add a factory variable. This variable will be instantiated once at module startup.
Args should not contain runtime. It gets added automatically.
Basically does:
var_name = callback(args)