diff options
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.139 2014/05/15 19:27:33 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.140 2014/08/21 19:12:40 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,7 +33,8 @@ static int db_Csize (lua_State *L) { | |||
33 | {'l', sizeof(long)}, | 33 | {'l', sizeof(long)}, |
34 | {'z', sizeof(size_t)}, | 34 | {'z', sizeof(size_t)}, |
35 | {'f', sizeof(float)}, | 35 | {'f', sizeof(float)}, |
36 | {'d', sizeof(double)} | 36 | {'d', sizeof(double)}, |
37 | {'p', sizeof(void*)} | ||
37 | }; | 38 | }; |
38 | const char *s = luaL_checkstring(L, 1); | 39 | const char *s = luaL_checkstring(L, 1); |
39 | int i; | 40 | int i; |