forked from enlightenment/efl
elua lib: make Elua_State fields private (opaque pointers)
This commit is contained in:
parent
1bc0bd1aa7
commit
ad999df598
|
@ -60,13 +60,7 @@ extern "C" {
|
|||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
|
||||
typedef struct _Elua_State
|
||||
{
|
||||
lua_State *luastate;
|
||||
Eina_Stringshare *coredir;
|
||||
Eina_Stringshare *moddir;
|
||||
Eina_Stringshare *appsdir;
|
||||
} Elua_State;
|
||||
typedef struct _Elua_State Elua_State;
|
||||
|
||||
EAPI int elua_init(void);
|
||||
EAPI int elua_shutdown(void);
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue