{
** $id: lua.h,v 1.175b 2003/03/18 12:31:39 roberto exp $ 【程序编程相关:一个更加强大易用的XML库 -- Nat】 【推荐阅读:用DELPHI进行NT、2000、200】 ** lua - an extensible extension language 【扩展信息:用delphi操作INI文件】 ** tecgraf: computer graphics technology group, puc-rio, brazil ** http://www.lua.org mailto:info@lua.org ** see copyright notice at the end of this file } { this .h header file is translated by melice }unit lua;
interfaceconst
luadll = lualibdll.dll;type
lua_state = pointer; int = integer; size_t = int;va_list = int;
const
slua_version = lua 5.0.2;
slua_copyright = copyright (c) 1994-2004 tecgraf, puc-rio; slua_authors = r. ierusalimschy, l. h. de figueiredo & w. celes;{ option for multiple returns in `lua_pcall and `lua_call }
lua_multret = -1;{
** pseudo-indices } lua_registryindex = -10000; lua_globalsindex = -10001;// #define lua_upvalueindex(i) (lua_globalsindex-(i))
{ error codes for `lua_load and `lua_pcall }
lua_errrun = 1; lua_errfile = 2; lua_errsyntax = 3; lua_errmem = 4; lua_errerr = 5;// typedef struct lua_state lua_state;
type
lua_cfunction = function(l: lua_state): int;{
** functions that read/write blocks when loading/dumping lua chunks } lua_chunkreader = function(l: lua_state; ud: pointer; sz: size_t): pchar;lua_chunkwriter = function(l: lua_state; p: pointer; sz: size_t; ud: pointer):
int;{
** basic types } constlua_tnone = -1;
... 下一页