Home
last modified time | relevance | path

Searched refs:lua_newuserdata (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/libexec/httpd/lua/
H A Dglue.c57 httpd = lua_newuserdata(L, sizeof(*httpd)); in l_new()
80 prefs = lua_newuserdata(L, sizeof(*prefs)); in l_init_prefs()
/netbsd-src/external/bsd/lutok/dist/
H A Dstate.cpp540 return lua_newuserdata(_pimpl->lua_state, size); in new_userdata_voidp()
671 lua_newuserdata(_pimpl->lua_state, sizeof(cxx_function))); in push_cxx_closure()
687 lua_newuserdata(_pimpl->lua_state, sizeof(cxx_function))); in push_cxx_function()
H A Dstate.ipp37 /// Wrapper around lua_newuserdata.
H A Dstate_test.cpp607 lua_newuserdata(raw(state), 1234); in ATF_TEST_CASE_BODY()
620 lua_newuserdata(raw(state), 543); in ATF_TEST_CASE_BODY()
1273 lua_newuserdata(raw(state), sizeof(int))); in ATF_TEST_CASE_BODY()
1289 lua_newuserdata(raw(state), sizeof(int))); in ATF_TEST_CASE_BODY()
/netbsd-src/lib/lua/sqlite/
H A Dsqlite.c83 db = lua_newuserdata(L, sizeof(sqlite3 *)); in sqlite_open()
140 stmt = lua_newuserdata(L, sizeof(sqlite3_stmt *)); in db_prepare()
/netbsd-src/lib/lua/gpio/
H A Dgpio.c72 fd = lua_newuserdata(L, sizeof(int)); in gpio_open()
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/
H A Dglue.c106 netpgp = lua_newuserdata(L, sizeof(*netpgp)); in l_new()
/netbsd-src/external/mit/lua/dist/src/
H A Dlua.h446 #define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) macro