mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-26 09:28:22 +01:00
fix lib
This commit is contained in:
parent
d55e504a59
commit
f98c4d3666
5
.gitignore
vendored
5
.gitignore
vendored
@ -70,4 +70,7 @@ config.sub
|
|||||||
configure
|
configure
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
ltmain.sh
|
ltmain.sh
|
||||||
Makefile.in
|
Makefile.in
|
||||||
|
# others
|
||||||
|
3rd/lua-5.3.4/lua
|
||||||
|
3rd/lua-5.3.4/luac
|
||||||
|
@ -46,7 +46,7 @@ function std.f(v)
|
|||||||
std._f(HTTP_REQUEST.id,v)
|
std._f(HTTP_REQUEST.id,v)
|
||||||
end
|
end
|
||||||
function std.fb(v)
|
function std.fb(v)
|
||||||
std._fb(HTTP_REQUEST.id,v)
|
std._f(HTTP_REQUEST.id,v)
|
||||||
end
|
end
|
||||||
function std.setCookie(t,v,p)
|
function std.setCookie(t,v,p)
|
||||||
p = p or ""
|
p = p or ""
|
||||||
|
@ -240,21 +240,21 @@ am__relativize = \
|
|||||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||||
done; \
|
done; \
|
||||||
reldir="$$dir2"
|
reldir="$$dir2"
|
||||||
ACLOCAL = ${SHELL} /home/mrsang/build/antd-lua-plugin/missing aclocal-1.15
|
ACLOCAL = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/missing aclocal-1.15
|
||||||
AMTAR = $${TAR-tar}
|
AMTAR = $${TAR-tar}
|
||||||
AM_DEFAULT_VERBOSITY = 1
|
AM_DEFAULT_VERBOSITY = 1
|
||||||
AR = ar
|
AR = ar
|
||||||
AUTOCONF = ${SHELL} /home/mrsang/build/antd-lua-plugin/missing autoconf
|
AUTOCONF = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/missing autoconf
|
||||||
AUTOHEADER = ${SHELL} /home/mrsang/build/antd-lua-plugin/missing autoheader
|
AUTOHEADER = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/missing autoheader
|
||||||
AUTOMAKE = ${SHELL} /home/mrsang/build/antd-lua-plugin/missing automake-1.15
|
AUTOMAKE = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/missing automake-1.15
|
||||||
AWK = gawk
|
AWK = mawk
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CCDEPMODE = depmode=gcc3
|
CCDEPMODE = depmode=gcc3
|
||||||
CFLAGS = -g -O2
|
CFLAGS = -g -O2
|
||||||
CPP = gcc -E
|
CPP = gcc -E
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
CYGPATH_W = echo
|
CYGPATH_W = echo
|
||||||
DEFS = -DPACKAGE_NAME=\"lua\" -DPACKAGE_TARNAME=\"lua\" -DPACKAGE_VERSION=\"0.5.2b\" -DPACKAGE_STRING=\"lua\ 0.5.2b\" -DPACKAGE_BUGREPORT=\"xsang.le@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lua\" -DVERSION=\"0.5.2b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBANTD=1 -DUSE_DB=1 -DHAVE_LIBSQLITE3=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -D_GNU_SOURCE=1 -DLINUX=1 -DHAVE_LIBCRYPT=1
|
DEFS = -DPACKAGE_NAME=\"lua\" -DPACKAGE_TARNAME=\"lua\" -DPACKAGE_VERSION=\"0.5.2b\" -DPACKAGE_STRING=\"lua\ 0.5.2b\" -DPACKAGE_BUGREPORT=\"xsang.le@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lua\" -DVERSION=\"0.5.2b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBANTD=1 -DUSE_DB=1 -DHAVE_LIBSQLITE3=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -D_GNU_SOURCE=1 -DDEBUG=1 -DLINUX=1 -DHAVE_LIBCRYPT=1
|
||||||
DEPDIR = .deps
|
DEPDIR = .deps
|
||||||
DLLTOOL = false
|
DLLTOOL = false
|
||||||
DSYMUTIL =
|
DSYMUTIL =
|
||||||
@ -280,7 +280,7 @@ LIPO =
|
|||||||
LN_S = ln -s
|
LN_S = ln -s
|
||||||
LTLIBOBJS =
|
LTLIBOBJS =
|
||||||
LT_SYS_LIBRARY_PATH =
|
LT_SYS_LIBRARY_PATH =
|
||||||
MAKEINFO = ${SHELL} /home/mrsang/build/antd-lua-plugin/missing makeinfo
|
MAKEINFO = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/missing makeinfo
|
||||||
MANIFEST_TOOL = :
|
MANIFEST_TOOL = :
|
||||||
MKDIR_P = /bin/mkdir -p
|
MKDIR_P = /bin/mkdir -p
|
||||||
NM = /usr/bin/nm -B
|
NM = /usr/bin/nm -B
|
||||||
@ -303,10 +303,10 @@ SET_MAKE =
|
|||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
VERSION = 0.5.2b
|
VERSION = 0.5.2b
|
||||||
abs_builddir = /home/mrsang/build/antd-lua-plugin/lib/ann
|
abs_builddir = /src/cwp/ant-plugins/antd-lua-plugin/lib/ann
|
||||||
abs_srcdir = /home/mrsang/build/antd-lua-plugin/lib/ann
|
abs_srcdir = /src/cwp/ant-plugins/antd-lua-plugin/lib/ann
|
||||||
abs_top_builddir = /home/mrsang/build/antd-lua-plugin
|
abs_top_builddir = /src/cwp/ant-plugins/antd-lua-plugin
|
||||||
abs_top_srcdir = /home/mrsang/build/antd-lua-plugin
|
abs_top_srcdir = /src/cwp/ant-plugins/antd-lua-plugin
|
||||||
ac_ct_AR = ar
|
ac_ct_AR = ar
|
||||||
ac_ct_CC = gcc
|
ac_ct_CC = gcc
|
||||||
ac_ct_DUMPBIN =
|
ac_ct_DUMPBIN =
|
||||||
@ -336,7 +336,7 @@ host_vendor = pc
|
|||||||
htmldir = ${docdir}
|
htmldir = ${docdir}
|
||||||
includedir = ${prefix}/include
|
includedir = ${prefix}/include
|
||||||
infodir = ${datarootdir}/info
|
infodir = ${datarootdir}/info
|
||||||
install_sh = ${SHELL} /home/mrsang/build/antd-lua-plugin/install-sh
|
install_sh = ${SHELL} /src/cwp/ant-plugins/antd-lua-plugin/install-sh
|
||||||
libdir = $(prefix)/lib/lua/
|
libdir = $(prefix)/lib/lua/
|
||||||
libexecdir = ${exec_prefix}/libexec
|
libexecdir = ${exec_prefix}/libexec
|
||||||
localedir = ${datarootdir}/locale
|
localedir = ${datarootdir}/locale
|
||||||
@ -345,7 +345,7 @@ mandir = ${datarootdir}/man
|
|||||||
mkdir_p = $(MKDIR_P)
|
mkdir_p = $(MKDIR_P)
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
pdfdir = ${docdir}
|
pdfdir = ${docdir}
|
||||||
prefix = /usr/local
|
prefix = /src/www
|
||||||
program_transform_name = s,x,x,
|
program_transform_name = s,x,x,
|
||||||
psdir = ${docdir}
|
psdir = ${docdir}
|
||||||
runstatedir = ${localstatedir}/run
|
runstatedir = ${localstatedir}/run
|
||||||
|
@ -112,12 +112,12 @@ static int l_f (lua_State *L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//int __fb(int, const char*);
|
//int __fb(int, const char*);
|
||||||
static int l_fb (lua_State *L) {
|
/*static int l_fb (lua_State *L) {
|
||||||
void* client = lua_touserdata (L, 1);
|
void* client = lua_touserdata (L, 1);
|
||||||
const char* v = luaL_checkstring(L, 2);
|
const char* v = luaL_checkstring(L, 2);
|
||||||
lua_pushnumber(L, __fb(client,v));
|
lua_pushnumber(L, __fb(client,v));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
//int upload(const char*, const char*);
|
//int upload(const char*, const char*);
|
||||||
static int l_upload (lua_State *L) {
|
static int l_upload (lua_State *L) {
|
||||||
@ -497,7 +497,7 @@ static const struct luaL_Reg standard [] = {
|
|||||||
{"_ti", l_ti} ,
|
{"_ti", l_ti} ,
|
||||||
{"_t", l_t} ,
|
{"_t", l_t} ,
|
||||||
{"_f", l_f} ,
|
{"_f", l_f} ,
|
||||||
{"_fb", l_fb} ,
|
//{"_fb", l_fb} ,
|
||||||
{"trim", l_trim},
|
{"trim", l_trim},
|
||||||
{"upload", l_upload} ,
|
{"upload", l_upload} ,
|
||||||
{"route", l_route} ,
|
{"route", l_route} ,
|
||||||
|
Loading…
Reference in New Issue
Block a user