Searched refs:lua_newuserdata (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/libexec/httpd/lua/ |
H A D | glue.c | 57 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 D | state.cpp | 540 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 D | state.ipp | 37 /// Wrapper around lua_newuserdata.
|
H A D | state_test.cpp | 607 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 D | sqlite.c | 83 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 D | gpio.c | 72 fd = lua_newuserdata(L, sizeof(int)); in gpio_open()
|
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
H A D | glue.c | 106 netpgp = lua_newuserdata(L, sizeof(*netpgp)); in l_new()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lua.h | 446 #define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) macro
|