mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-08-31 08:12:12 +02:00
fix: Enable compiling with MSVC (#4)
This commit is contained in:
@@ -116,6 +116,7 @@ static int Liconv(lua_State *L)
|
||||
char *outbuf = outbufs;
|
||||
size_t obleft = CONV_BUF_SIZE;
|
||||
size_t ret = -1;
|
||||
luaL_Buffer b;
|
||||
|
||||
if (cd == NULL) {
|
||||
lua_pushstring(L, "");
|
||||
@@ -123,7 +124,6 @@ static int Liconv(lua_State *L)
|
||||
return 2;
|
||||
}
|
||||
|
||||
luaL_Buffer b;
|
||||
luaL_buffinit(L, &b);
|
||||
|
||||
do {
|
||||
|
Reference in New Issue
Block a user