Hi,
These values come from "neko_init", which must booted from your haxe code before making these calls.
This function is generated in the CFFILoader header.
Here is the code nme uses to boot it:
#if neko
public static function loadNekoAPI()
{
var init = load("neko_init", 5);
if (init != null)
{
loaderTrace("Found nekoapi @ " + moduleName);
init(function(s) return new String(s), function(len:Int) { var r = []; if (len > 0) r[len - 1] = null; return r; }, null, true, false);
}
else
throw("Could not find NekoAPI interface.");
}
#end
Hugh