From bb9f6d43a4e574506e3049bd56c890c242d35e8b Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 9 Jan 2019 16:09:39 -0500 Subject: Moved the define constant definition into common/shared header --- src/shared/lua_api/common.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/lua_api/common.hpp') diff --git a/src/shared/lua_api/common.hpp b/src/shared/lua_api/common.hpp index 0b7abd6..583ab1e 100644 --- a/src/shared/lua_api/common.hpp +++ b/src/shared/lua_api/common.hpp @@ -1,6 +1,7 @@ #ifndef __broken_shared_lua_common #define __broken_shared_lua_common +#define set_const(l,x) lua_pushstring(l,#x);lua_pushinteger(l,x);lua_settable(l,-3); extern "C" { #include #include -- cgit v1.2.3-70-g09d2