From cfdfe11c106de60cab6f402a286784c07d772b54 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Mon, 31 Aug 2020 09:30:34 +0200 Subject: [PATCH] cpp2ffi: skip function_re and functionD_re as not processed (they are processed already) --- generator/cpp2ffi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/cpp2ffi.lua b/generator/cpp2ffi.lua index f5b046d..c7ac70f 100644 --- a/generator/cpp2ffi.lua +++ b/generator/cpp2ffi.lua @@ -996,7 +996,7 @@ function M.Parser() end elseif it.re_name == "struct_re" then table.insert(self.inerstructs,it) - else + elseif it.re_name ~= "functionD_re" and it.re_name ~= "function_re" then print(it.re_name,"not processed") M.prtable(it) end