diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-13 17:39:34 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-13 17:39:34 -0200 |
commit | 547e47649fa086e49c146464a2d4a33de713d4b7 (patch) | |
tree | 934f65dbc061d3f738324046966b00327262ab15 /lauxlib.h | |
parent | 41dd32e18ecbb298437c124cbab60de1f90babbb (diff) | |
download | lua-547e47649fa086e49c146464a2d4a33de713d4b7.tar.gz lua-547e47649fa086e49c146464a2d4a33de713d4b7.tar.bz2 lua-547e47649fa086e49c146464a2d4a33de713d4b7.zip |
'luaL_typeerror' spelled right
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.93 2007/06/22 15:39:34 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.94 2008/01/03 17:07:59 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -34,7 +34,7 @@ LUALIB_API void (luaL_register) (lua_State *L, const char *libname, | |||
34 | LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); | 34 | LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); |
35 | LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e); | 35 | LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e); |
36 | LUALIB_API const char *luaL_tolstring (lua_State *L, int idx, size_t *len); | 36 | LUALIB_API const char *luaL_tolstring (lua_State *L, int idx, size_t *len); |
37 | LUALIB_API int (luaL_typerror) (lua_State *L, int narg, const char *tname); | 37 | LUALIB_API int (luaL_typeerror) (lua_State *L, int narg, const char *tname); |
38 | LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg); | 38 | LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg); |
39 | LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg, | 39 | LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg, |
40 | size_t *l); | 40 | size_t *l); |
@@ -161,6 +161,10 @@ LUALIB_API void (luaL_pushresult) (luaL_Buffer *B); | |||
161 | 161 | ||
162 | #define luaL_reg luaL_Reg | 162 | #define luaL_reg luaL_Reg |
163 | 163 | ||
164 | |||
165 | /* compatibility with previous wrong spelling */ | ||
166 | #define luaL_typerror luaL_typeerror | ||
167 | |||
164 | #endif | 168 | #endif |
165 | 169 | ||
166 | 170 | ||