Searched refs:lua_pushcfunction (Results 1 – 12 of 12) sorted by relevance
/minix3/external/bsd/lutok/dist/ |
H A D | state.cpp | 304 lua_pushcfunction(_pimpl->lua_state, protected_getglobal); in get_global() 371 lua_pushcfunction(_pimpl->lua_state, protected_gettable); in get_table() 556 lua_pushcfunction(_pimpl->lua_state, protected_next); in next() 579 lua_pushcfunction(_pimpl->lua_state, luaopen_base); in open_base() 597 lua_pushcfunction(_pimpl->lua_state, luaopen_string); in open_string() 616 lua_pushcfunction(_pimpl->lua_state, luaopen_table); in open_table() 767 lua_pushcfunction(_pimpl->lua_state, protected_setglobal); in set_global() 797 lua_pushcfunction(_pimpl->lua_state, protected_settable); in set_table()
|
/minix3/lib/lua/sqlite/ |
H A D | sqlite.c | 459 lua_pushcfunction(L, db_close); in luaopen_sqlite() 477 lua_pushcfunction(L, stmt_finalize); in luaopen_sqlite()
|
/minix3/libexec/httpd/ |
H A D | lua-bozo.c | 174 lua_pushcfunction(L, fn); in lua_openlib() 206 lua_pushcfunction(map->L, luaopen_httpd); in bozo_add_lua_map()
|
/minix3/external/mit/lua/dist/src/ |
H A D | lbaselib.c | 219 lua_pushcfunction(L, iter); /* will return generator, */ in pairsmeta() 282 lua_pushcfunction(L, iter); /* iteration function */ in luaB_ipairs()
|
H A D | lua.c | 201 lua_pushcfunction(L, msghandler); /* push message handler */ in docall() 606 lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ in main()
|
H A D | lutf8lib.c | 231 lua_pushcfunction(L, iter_aux); in iter_codes()
|
H A D | lua.h | 381 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n))) 383 #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) macro
|
H A D | loadlib.c | 350 lua_pushcfunction(L, f); /* else create new function */ in lookforfunc() 758 lua_pushcfunction(L, gctm); in createclibstable()
|
H A D | luaconf.h | 349 (lua_pushcfunction(L, (f)), \
|
H A D | luac.c | 202 lua_pushcfunction(L,&pmain); in main()
|
H A D | lauxlib.c | 920 lua_pushcfunction(L, openf); in luaL_requiref()
|
/minix3/lib/lua/gpio/ |
H A D | gpio.c | 300 lua_pushcfunction(L, gpio_close); in luaopen_gpio()
|