From 94aa499c64f66bd4ba01e2adf40151d19e9d7b36 Mon Sep 17 00:00:00 2001 From: Mauro Iazzi Date: Sat, 13 Feb 2010 15:18:02 +0100 Subject: [PATCH] generate bindings for virtual functions they compile and load --- generator/generator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator.lua b/generator/generator.lua index b651fe8..875c143 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -719,7 +719,7 @@ local print_wrappers = function(index) -- if the virtual overload in the shell uses rawget -- on the environment then we can leave these in the -- metatable - if f.wrapper_code and f.xarg.virtual~='1' then + if f.wrapper_code and f.xarg.abstract~='1' then local out = 'static int lqt_bind'..f.xarg.id ..' (lua_State *L) {\n'.. f.wrapper_code .. '}\n' if f.xarg.access=='public' then -- 2.11.4.GIT