summaryrefslogtreecommitdiffstats
path: root/main/lua-iconv/0001-lua-iconv-make-close-available-from-lua.patch
blob: 885c37836731327f8809f5b64ce12d82470c5181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 3281ed1babad138daa3ebe892b4f3d7ce5b9c85c Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 17 Feb 2010 08:54:06 +0000
Subject: [PATCH] lua-iconv: make close() available from lua

Seems like this was forgotten
---
 luaiconv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/luaiconv.c b/luaiconv.c
index 514f1fb..0c6ef06 100644
--- a/luaiconv.c
+++ b/luaiconv.c
@@ -204,6 +204,7 @@ static const luaL_reg inconvFuncs[] = {
     { "open",   Liconv_open },
     { "new",    Liconv_open },
     { "iconv",  Liconv },
+    { "close",  Liconv_close },
 #ifdef HAS_ICONVLIST
     { "list",   Liconvlist },
 #endif
-- 
1.6.6.1