aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/luatablegen
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-07-19 00:09:20 +0000
committerbloodstalker <thabogre@gmail.com>2018-07-19 00:09:20 +0000
commit82dff3bff1b0d97585a2cbd574879057405cf363 (patch)
tree6b058fa70eb5176e21e6e51c80ff7d281801f565 /bruiser/luatablegen
parentfixing travis (diff)
downloadmutator-82dff3bff1b0d97585a2cbd574879057405cf363.tar.gz
mutator-82dff3bff1b0d97585a2cbd574879057405cf363.zip
a fix for the luatablegen json file, added a new option to load.py, minor cosmetic changes
Diffstat (limited to 'bruiser/luatablegen')
-rw-r--r--bruiser/luatablegen/W_Import_Section_tablegen.c2
-rw-r--r--bruiser/luatablegen/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/bruiser/luatablegen/W_Import_Section_tablegen.c b/bruiser/luatablegen/W_Import_Section_tablegen.c
index 5286c75..b56c81b 100644
--- a/bruiser/luatablegen/W_Import_Section_tablegen.c
+++ b/bruiser/luatablegen/W_Import_Section_tablegen.c
@@ -41,7 +41,7 @@ int W_Import_Section_push_args(lua_State* __ls, W_Import_Section* _st) {
int new_W_Import_Section(lua_State* __ls) {
lua_checkstack(__ls, 2);
varuint32 count = luaL_optinteger(__ls,-2,0);
- W_Import_Section** entries = lua_touserdata(__ls,-1);
+ W_Import_Section_Entry** entries = lua_touserdata(__ls,-1);
W_Import_Section* dummy = push_W_Import_Section(__ls);
dummy->count = count;
dummy->entries = entries;
diff --git a/bruiser/luatablegen/makefile b/bruiser/luatablegen/makefile
index 937902b..a4ecdaf 100644
--- a/bruiser/luatablegen/makefile
+++ b/bruiser/luatablegen/makefile
@@ -1,6 +1,6 @@
CC=clang
CC?=clang
-CC_FLAGS=
+CC_FLAGS=$(shell $(PY_CONF) --includes)
CC_EXTRA?=
CC_FLAGS+=$(CC_EXTRA)
SRCS=$(wildcard *.c)