Mmmn, still can't type conditionals

This commit is contained in:
ThePhD 2017-08-24 17:49:08 -04:00
parent 78fd95d456
commit b2f9822632
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ int main(int, char*[]) {
sol::meta_function::pairs, my_pairs
);
#if SOL_LUA_VERSION < 502
#if SOL_LUA_VERSION > 501
lua.safe_script(R"(
local mt = my_thing.new()
for k, v in pairs(mt) do

View File

@ -72,7 +72,7 @@ int main(int, char*[]) {
sol::meta_function::pairs, &my_pairs
);
#if SOL_LUA_VERSION < 502
#if SOL_LUA_VERSION > 501
lua.safe_script(R"(
local mt = my_thing.new()
for k, v in pairs(mt) do