Skip to content

Commit 53f0ab1

Browse files
committed
Update to the latest Lua headers
Also sneak in a DLL consistency - now it always builds to king.dll.
1 parent 0c5cdcb commit 53f0ab1

File tree

24 files changed

+146
-66
lines changed

24 files changed

+146
-66
lines changed

amx-deps/src/include/lapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lapi.h,v 2.2 2005/04/25 19:24:10 roberto Exp $
2+
** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Auxiliary functions from Lua API
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/lcode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lcode.h,v 1.48 2006/03/21 19:28:03 roberto Exp $
2+
** $Id: lcode.h,v 1.48.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Code generator for Lua
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/ldebug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: ldebug.h,v 2.3 2005/04/25 19:24:10 roberto Exp $
2+
** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Auxiliary functions from Debug Interface module
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/ldo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: ldo.h,v 2.7 2005/08/24 16:15:49 roberto Exp $
2+
** $Id: ldo.h,v 2.7.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Stack and Call structure of Lua
44
** See Copyright Notice in lua.h
55
*/
@@ -12,6 +12,7 @@
1212
#include "lstate.h"
1313
#include "lzio.h"
1414

15+
1516
#define luaD_checkstack(L,n) \
1617
if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \
1718
luaD_growstack(L, n); \

amx-deps/src/include/lfunc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lfunc.h,v 2.4 2005/04/25 19:24:10 roberto Exp $
2+
** $Id: lfunc.h,v 2.4.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Auxiliary functions to manipulate prototypes and closures
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/lgc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lgc.h,v 2.15 2005/08/24 16:15:49 roberto Exp $
2+
** $Id: lgc.h,v 2.15.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Garbage Collector
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/llex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: llex.h,v 1.58 2006/03/23 18:23:32 roberto Exp $
2+
** $Id: llex.h,v 1.58.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Lexical Analyzer
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/llimits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: llimits.h,v 1.69 2005/12/27 17:12:00 roberto Exp $
2+
** $Id: llimits.h,v 1.69.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Limits, basic types, and some other `installation-dependent' definitions
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/lmem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lmem.h,v 1.31 2005/04/25 19:24:10 roberto Exp $
2+
** $Id: lmem.h,v 1.31.1.1 2007/12/27 13:02:25 roberto Exp $
33
** Interface to Memory Manager
44
** See Copyright Notice in lua.h
55
*/

amx-deps/src/include/lobject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** $Id: lobject.h,v 2.20 2006/01/18 11:37:34 roberto Exp $
2+
** $Id: lobject.h,v 2.20.1.2 2008/08/06 13:29:48 roberto Exp $
33
** Type definitions for Lua objects
44
** See Copyright Notice in lua.h
55
*/
@@ -208,7 +208,7 @@ typedef union TString {
208208

209209

210210
#define getstr(ts) cast(const char *, (ts) + 1)
211-
#define svalue(o) getstr(tsvalue(o))
211+
#define svalue(o) getstr(rawtsvalue(o))
212212

213213

214214

0 commit comments

Comments
 (0)