From a3ad64dbfa9760f8fd2f0c8b15d6e4d19dcbe004 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Fri, 9 Oct 2020 16:24:18 +0200 Subject: [PATCH] cpp2ffi: ftemplate_list functions where left out from comments changes --- generator/cpp2ffi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/cpp2ffi.lua b/generator/cpp2ffi.lua index 80714ed..41cf849 100644 --- a/generator/cpp2ffi.lua +++ b/generator/cpp2ffi.lua @@ -1225,7 +1225,7 @@ function M.Parser() if self.ftemplate_list then for iT,vT in ipairs(self.ftemplate_list[ttype]) do local funT = fun:gsub(ttype,vT) - self:parseFunction(stname,funT,namespace,it.locat) + self:parseFunction(stname,{item=funT},namespace,it.locat) end end else