diff options
author | Liam Devine <dmail00@gmail.com> | 2011-07-04 23:35:16 +0100 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:33:34 -0700 |
commit | c8eed367881350a5485903fd1bf2ed0292ac17cc (patch) | |
tree | 58f454469eb11398adf76b107498197649655819 /src/lua_typeerror.h | |
parent | e15ed19db6eb3385c1b35219c2dfa11953c3d47e (diff) | |
download | luasocket-c8eed367881350a5485903fd1bf2ed0292ac17cc.tar.gz luasocket-c8eed367881350a5485903fd1bf2ed0292ac17cc.tar.bz2 luasocket-c8eed367881350a5485903fd1bf2ed0292ac17cc.zip |
This is a replacement for luaL_typerror , removed from Lua 5.2, which corrects the spelling.
NOTE:
There is one failing test in.the /test/testsrvr.lua and /test/testclnt.lua combination which was present in the repo I cloned from.
Diffstat (limited to 'src/lua_typeerror.h')
-rw-r--r-- | src/lua_typeerror.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua_typeerror.h b/src/lua_typeerror.h new file mode 100644 index 0000000..4f2aafd --- /dev/null +++ b/src/lua_typeerror.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef LUA_TYPEERROR_H_ | ||
2 | #define LUA_TYPEERROR_H_ | ||
3 | |||
4 | struct lua_State; | ||
5 | int luaL_typeerror (struct lua_State *L, int narg, const char *tname); | ||
6 | |||
7 | #endif | ||