From: k. h. <kla...@nl...> - 2006-01-04 13:52:31
|
Hi, I start realizing that forwrad is not always needed. In the next a2dCentralCanvasCommandProcessor needs to be there first, or genwxbind.lua gives errors. Interesting enough, a2dCommandLanguageWrapper is not knwo, but that is oke?? %class %delete %noclassinfo a2dCentralCanvasCommandProcessor a2dCentralCanvasCommandProcessor() %endclass %class %delete %noclassinfo a2dLuaWrapper, a2dCommandLanguageWrapper %define %pointer a2dLuaWP a2dLuaWrapper( a2dCentralCanvasCommandProcessor* commandProcessor ) If i remove the %class .... a2dCentralCanvasCommandProcessor, i get the following error. c:\data\art2d\a2dren9\modules\luawraps\src>genwxbind.bat Generating wxWidgets Binding loaded rules: luawraps.rules Error: Expected Parameter '=', ')', or ',' got Tag='*'. (Name=a2dCentralCanvasCo mmandProcessor; Undefined DataType) File: C:/data/art2d/wxArt2D/modules/luawraps /src/luawraps.i:(line 14) So i think i don't understand when something has to be know upfront or when not? And when something has to be knwo, how to make it know without generating code for a complete class. I just need pointer to it. regards, Klaas k. holwerda wrote: > Hi John, > > I think we need something extra to make things work for derived classes. > > The problem is this. > > -- Unclassified |