I looked into how lua does this what I am seeking for in neko...

its somewhat equivalent to this (lua_register)

>>
------C

static int alert_glue(lua_State *L) {  .... }

lua_register(L, "alert", alert_glue);

-----LUA

return alert(double(1))

<<

best regards,
Janko
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to