Re: [pygccxml-development] Trying to ramp up again
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-05-12 18:28:22
|
On 5/12/06, Allen Bierbaum <al...@vr...> wrote: > > > > > Yes, just use an API I gave you: > > > > add_code( your code, works_on_instance=3DFalse ) > > > > It should do the trick > > > I can't seem to find a similar API for adding code outside of a class. Because it does not exists. > For example if I want to add a custom .def at the global scope or put a > new method inline in the file or something like that. I think the > prototype API I had allowed custom code to be added to any decl (not > just classes). If you want to open this topic, please start another thread, with an exampl= e, that shows, how this functionality would help you. > -Allen > --=20 Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |