mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
*** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@14 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
e301c6a068
commit
37c7cd2fda
12
luaiconv.c
12
luaiconv.c
@ -43,8 +43,6 @@
|
|||||||
#define ERROR_UNKNOWN 4
|
#define ERROR_UNKNOWN 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Table assumed on top */
|
/* Table assumed on top */
|
||||||
#define tblseticons(L, c, v) \
|
#define tblseticons(L, c, v) \
|
||||||
lua_pushliteral(L, c); \
|
lua_pushliteral(L, c); \
|
||||||
@ -53,8 +51,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void push_iconv_t(lua_State *L, iconv_t cd)
|
static void push_iconv_t(lua_State *L, iconv_t cd)
|
||||||
{
|
{
|
||||||
lua_boxpointer(L, cd);
|
lua_boxpointer(L, cd);
|
||||||
@ -77,8 +73,6 @@ static iconv_t get_iconv_t(lua_State *L, int i)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static int Liconv_open(lua_State *L)
|
static int Liconv_open(lua_State *L)
|
||||||
{
|
{
|
||||||
const char *tocode = getstring(L, 1);
|
const char *tocode = getstring(L, 1);
|
||||||
@ -167,12 +161,6 @@ static int Liconv_close(lua_State *L)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static const luaL_reg inconvFuncs[] =
|
static const luaL_reg inconvFuncs[] =
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user