aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elua/elua_private.h
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-23 18:07:01 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-24 18:29:23 +0900
commit6587613a5810188378d52191fbc12ba44394b607 (patch)
tree536cba3dfbad0253c448ef8bcdc8e368baba2694 /src/lib/elua/elua_private.h
parenteina safepointer - mimic 47 bit eoid patch (diff)
downloadefl-6587613a5810188378d52191fbc12ba44394b607.tar.gz
elua - use safeptr with lightuserdata to work around luajit 64bit issue
luajit only supports 47bits on 64bit for lightuser data (bad! don't mess with opaque pointers... really unexpected and bad and probably should be fixed in luajit by doing things like on 32bit where pointers are not messed with etc.)
Diffstat (limited to 'src/lib/elua/elua_private.h')
-rw-r--r--src/lib/elua/elua_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index f4392f604b..1fd955c3ea 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -40,6 +40,7 @@ struct _Elua_State
Eina_List *lmods;
Eina_List *cmods;
Eina_List *lincs;
+ Eina_Safepointer *sp;
int requireref, apploadref;
};