Skip to content

Commit 3913335

Browse files
committed
Upgraded luacom to commit 91fc0722 from github.com/davidm/luacom/
1 parent a5d0f36 commit 3913335

37 files changed

+1464
-1675
lines changed

docs/luacom-1.3-doc.pdf

-199 KB
Binary file not shown.

docs/luacom.pdf

210 KB
Binary file not shown.

install/mushclient.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Section "Documentation"
250250
File "..\docs\Lua Colors LICENSE.txt"
251251
File "..\docs\JSON License.txt"
252252
File "..\docs\LuaJSON.txt"
253-
File "..\docs\luacom-1.3-doc.pdf"
253+
File "..\docs\luacom.pdf"
254254
File "..\docs\LuaSocket_license.txt"
255255

256256
CreateDirectory "$INSTDIR\docs\LuaSocket_documentation"
@@ -624,7 +624,7 @@ Section Uninstall
624624
Delete "$INSTDIR\docs\Lua Colors LICENSE.txt"
625625
Delete "$INSTDIR\docs\JSON License.txt"
626626
Delete "$INSTDIR\docs\LuaJSON.txt"
627-
Delete "$INSTDIR\docs\luacom-1.3-doc.pdf"
627+
Delete "$INSTDIR\docs\luacom.pdf"
628628

629629
Delete "$INSTDIR\docs\LuaSocket_license.txt"
630630
Delete "$INSTDIR\docs\LuaSocket_documentation\dns.html"

luacom/LuaAux.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ extern "C"
1515

1616

1717
// RCS Info
18-
static char *rcsid = "$Id: LuaAux.cpp,v 1.13 2004/11/25 13:40:00 fqueiroz Exp $";
19-
static char *rcsname = "$Name: $";
18+
static char const * const rcsid = "$Id: LuaAux.cpp,v 1.2 2007/12/20 06:51:15 dmanura Exp $";
19+
static char const * const rcsname = "$Name: $";
2020

2121
//////////////////////////////////////////////////////////////////////
2222
// Construction/Destruction
@@ -54,12 +54,12 @@ void LuaAux::printLuaStack(lua_State *L)
5454
break;
5555

5656
case LUA_TTABLE:
57-
printf("%d: table, tag = %d", i, luaCompat_getType2(L, i));
57+
printf("%d: table, tag = %p", i, luaCompat_getType2(L, i));
5858
break;
5959

6060
case LUA_TUSERDATA:
61-
printf("%d: userdata = %p, tag = %d", i,
62-
(long) luaCompat_getPointer(L, i), luaCompat_getType2(L, i));
61+
printf("%d: userdata = %p, tag = %p", i,
62+
luaCompat_getPointer(L, i), luaCompat_getType2(L, i));
6363
break;
6464

6565
case LUA_TNIL:
@@ -141,4 +141,4 @@ const char* LuaAux::makeLuaErrorMessage(int return_value, const char* msg)
141141
}
142142

143143
return message;
144-
}
144+
}

luacom/LuaAux.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ typedef int stkIndex;
1919
class LuaAux
2020
{
2121
public:
22-
static void printLuaTable(lua_State *L, stkIndex index);
23-
static void printLuaStack(lua_State *L);
24-
static void printPreDump(int expected);
22+
static void printLuaTable(lua_State *L, stkIndex index);
23+
static void printLuaStack(lua_State *L);
24+
static void printPreDump(int expected);
2525
static const char* makeLuaErrorMessage(int return_value, const char* msg);
26-
LuaAux();
27-
virtual ~LuaAux();
26+
LuaAux();
27+
virtual ~LuaAux();
2828

2929
};
3030

0 commit comments

Comments
 (0)