lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


You can use “// tolua_begin”  and “// tolua_end”  comment blocks to marks areas of a header file to be included/excluded.  I’m not aware of a way to have it automatically ignore protected/private blocks, BUT all of the tolua parsing logic is written in Lua, so you could probably make that happen if you’re brave enough to dig into their parser.

 

-Andrew

 

From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Anders Backman
Sent: Wednesday, August 04, 2010 1:19 PM
To: Lua list
Subject: Tolua++ protected members

 

Hi. Is it possible to get tolua++ to just ignore everything declared as private/protected in a .pkg file?

 

Instead of having to scrap it from the .h files (less changes needed then).

 

/A