Re: [pygccxml-development] questions about inheritance
Brought to you by:
mbaas,
roman_yakovenko
From: Kevin W. <kev...@gm...> - 2008-03-01 21:25:46
|
> I always thought that Py++ generates code that compiles even if "pure > virtual" functions are excluded. I just added new test and saw that > this is not the case. > > I will fix the problem in next few days. > > Thanks for bug reporting. Thank you very much for this! I'll probably be hunting sooner than that for the cause of this--I'll let you know if I find anything ;) > > In the class hierachy I'm attempting to get something working with, > > there is an entire category of classes (all with one common base > > class) that are "owned" entirely by C++ > I need to think a little about this. It could be nice if you can > create small test case, so I could play with it. I really appreciate your help so far. I made a small demo of what I'm talking about specifically: A small set of classes that mirror the ones I'm trying to wrap: http://code.google.com/p/wxpy/source/browse/trunk/docs/window_lifetimes/window_lifetime.h And some example Python and C++ for interacting with those classes: http://code.google.com/p/wxpy/source/browse/trunk/docs/window_lifetimes/window_lifetime.cpp If nothing else I hope it helps you understand what I mean. Thanks again! - Kevin |