Searched refs:luaL_dostring (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/external/bsd/lutok/dist/ |
H A D | state_test.cpp | 203 ATF_REQUIRE(luaL_dostring(raw(state), "test_variable = 3") == 0); in ATF_TEST_CASE_BODY() 224 ATF_REQUIRE(luaL_dostring(raw(state), "global_variable = 'hello'") == 0); in ATF_TEST_CASE_BODY() 239 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY() 254 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY() 267 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY() 285 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY() 303 ATF_REQUIRE(luaL_dostring(raw(state), "t = {}") == 0); in ATF_TEST_CASE_BODY() 314 ATF_REQUIRE(luaL_dostring(raw(state), "t = { a = 1, bar = 234 }") == 0); in ATF_TEST_CASE_BODY() 340 ATF_REQUIRE(luaL_dostring(raw(state), in ATF_TEST_CASE_BODY() 425 luaL_dostring(raw(state), "function my_func(a, b) return a + b; end"); in ATF_TEST_CASE_BODY() [all …]
|
H A D | debug_test.cpp | 42 ATF_REQUIRE(luaL_dostring(raw(state), "\n\nfunction hello() end\n" in ATF_TEST_CASE_BODY() 54 ATF_REQUIRE(luaL_dostring(raw(state), "error('Hello')") == 1); in ATF_TEST_CASE_BODY()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lauxlib.h | 162 #define luaL_dostring(L, s) \ macro
|