Searched refs:lua_pushcfunction (Results 1 – 12 of 12) sorted by relevance
/netbsd-src/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()
|
/netbsd-src/lib/lua/sqlite/ |
H A D | sqlite.c | 469 lua_pushcfunction(L, db_close); in luaopen_sqlite() 487 lua_pushcfunction(L, stmt_finalize); in luaopen_sqlite()
|
/netbsd-src/libexec/httpd/ |
H A D | lua-bozo.c | 179 lua_pushcfunction(L, fn); in lua_openlib() 211 lua_pushcfunction(map->L, luaopen_httpd); in bozo_add_lua_map()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lbaselib.c | 291 lua_pushcfunction(L, luaB_next); /* will return generator, */ in luaB_pairs() 320 lua_pushcfunction(L, ipairsaux); /* iteration function */ in luaB_ipairs()
|
H A D | lua.c | 158 lua_pushcfunction(L, msghandler); /* push message handler */ in docall() 672 lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ in main()
|
H A D | loadlib.c | 407 lua_pushcfunction(L, f); /* else create new function */ in lookforfunc() 740 lua_pushcfunction(L, gctm); in createclibstable()
|
H A D | lua.h | 403 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n))) 405 #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) macro
|
H A D | lutf8lib.c | 266 lua_pushcfunction(L, lax ? iter_auxlax : iter_auxstrict); in iter_codes()
|
H A D | luac.c | 206 lua_pushcfunction(L,&pmain); in main()
|
H A D | lauxlib.c | 998 lua_pushcfunction(L, openf); in luaL_requiref()
|
/netbsd-src/lib/lua/gpio/ |
H A D | gpio.c | 300 lua_pushcfunction(L, gpio_close); in luaopen_gpio()
|
/netbsd-src/sys/modules/lua/ |
H A D | lua.c | 704 lua_pushcfunction(K->L, lua_require); in klua_newstate()
|