mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
details
This commit is contained in:
parent
b40c9f7a3c
commit
94912d99fc
1 changed files with 2 additions and 2 deletions
4
ltests.c
4
ltests.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ltests.c,v 1.142 2002/11/14 11:51:23 roberto Exp roberto $
|
||||
** $Id: ltests.c,v 1.143 2002/11/14 15:41:38 roberto Exp roberto $
|
||||
** Internal Module for Debugging of the Lua Implementation
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -64,7 +64,7 @@ static void setnameval (lua_State *L, const char *name, int val) {
|
|||
#define MARK 0x55 /* 01010101 (a nice pattern) */
|
||||
|
||||
|
||||
#define blocksize(b) (cast(size_t *, b) - HEADER/sizeof(size_t))
|
||||
#define blocksize(b) (cast(size_t *, cast(char *, b) - HEADER))
|
||||
|
||||
unsigned long memdebug_numblocks = 0;
|
||||
unsigned long memdebug_total = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue