diff options
Diffstat (limited to 'src/luabind-test.cpp')
-rw-r--r-- | src/luabind-test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luabind-test.cpp b/src/luabind-test.cpp index 02f2638..45efb3d 100644 --- a/src/luabind-test.cpp +++ b/src/luabind-test.cpp @@ -23,7 +23,7 @@ extern "C" int init(lua_State* L) int main() { - lua_State* L = luaL_newstate(); - init(L); - luaL_dostring(L, "greet()"); + lua_State* L = luaL_newstate(); + init(L); + luaL_dostring(L, "greet()"); } |