[pygccxml-development] Problem and comments
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2006-05-12 04:08:59
|
I have run into two more things. First, the matcher's are pretty nice now that (I think) I understand them. It would be nice to have some documentation somewhere that lists all the matchers and what can be done with them (for example how to compose them using and, or, not :) I think I know how to do this now but I only know because I was trying to understand the find_single and find_multiple methods in scopedef_t. I still don't understand how the code in those finds is working (it could really use some comments to help with understanding and maintencance) but at least I found the matchers. :) Second, I think I ran into a bug in the wrapper generation. I have a class with a virtual method that has an exception specification. Imagine something like: class MyClass { public: virtual void doSomething() throw myException; } When the class gets wrapped, the wrapper class (MyClass_wrapper) doesn't use any exception specifications for the method wrapper. Thus the code generated won't compile because the derived class (the wrapper) uses a looser exception specification. Is this supposed to be handled? -Allen |