summaryrefslogtreecommitdiff
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
parent1bc0bd1aa7941d8dceb42868b3b21df2ed65181c (diff)
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 @@
27#include <lualib.h> 27#include <lualib.h>
28#include <lauxlib.h> 28#include <lauxlib.h>
29 29
30struct _Elua_State
31{
32 lua_State *luastate;
33 Eina_Stringshare *coredir;
34 Eina_Stringshare *moddir;
35 Eina_Stringshare *appsdir;
36};
37
30extern int _elua_log_dom; 38extern int _elua_log_dom;
31 39
32#define DBG(...) EINA_LOG_DOM_DBG(_elua_log_dom, __VA_ARGS__) 40#define DBG(...) EINA_LOG_DOM_DBG(_elua_log_dom, __VA_ARGS__)