1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2025-02-13 15:02:48 +01:00
This commit is contained in:
lxsang 2019-11-19 17:13:39 +01:00
parent d869c3d9ee
commit 2cc5b468bc
4 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,6 @@ AC_INIT([lua], [0.5.2b], [xsang.le@gmail.com])
# [subdir-objects] if needed # [subdir-objects] if needed
AM_INIT_AUTOMAKE([subdir-objects]) AM_INIT_AUTOMAKE([subdir-objects])
: ${CFLAGS="-g -O0"}
# dependencies # dependencies
# C compiler # C compiler
AC_PROG_CC AC_PROG_CC

BIN
dist/lua-0.5.2b.tar.gz vendored

Binary file not shown.

View File

@ -1,4 +1,4 @@
#include <antd/plugin.h> #define PLUGIN_IMPLEMENT 1
#include "lua-api.h" #include "lua-api.h"
static const struct luaL_Reg modules [] = { static const struct luaL_Reg modules [] = {

View File

@ -2,6 +2,7 @@
#define LUA_API_H #define LUA_API_H
#include <antd/handle.h> #include <antd/handle.h>
#include <antd/utils.h> #include <antd/utils.h>
#include <antd/plugin.h>
#include "3rd/lua-5.3.4/lua.h" #include "3rd/lua-5.3.4/lua.h"
#include "3rd/lua-5.3.4/lauxlib.h" #include "3rd/lua-5.3.4/lauxlib.h"
#include "3rd/lua-5.3.4/lualib.h" #include "3rd/lua-5.3.4/lualib.h"