aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elua/elua_private.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-09 14:37:12 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:19 +0100
commitad999df598680c43c492d5db776a6eeb50e45ec3 (patch)
treeb46b258d2552aec56959e7e41fc159cb61373447 /src/lib/elua/elua_private.h
parentelua: use the new state get API (diff)
downloadefl-ad999df598680c43c492d5db776a6eeb50e45ec3.tar.gz
elua lib: make Elua_State fields private (opaque pointers)
Diffstat (limited to 'src/lib/elua/elua_private.h')
-rw-r--r--src/lib/elua/elua_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index 0e1e9be515..5c634880e8 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -27,6 +27,14 @@
#include <lualib.h>
#include <lauxlib.h>
+struct _Elua_State
+{
+ lua_State *luastate;
+ Eina_Stringshare *coredir;
+ Eina_Stringshare *moddir;
+ Eina_Stringshare *appsdir;
+};
+
extern int _elua_log_dom;
#define DBG(...) EINA_LOG_DOM_DBG(_elua_log_dom, __VA_ARGS__)