Re: [pygccxml-development] How to add a new function to an individual file?
Brought to you by:
mbaas,
roman_yakovenko
|
From: Roman Y. <rom...@gm...> - 2006-09-11 05:35:55
|
On 9/11/06, Matthias Baas <ba...@ir...> wrote: > Roman Yakovenko wrote: > > Read documentation please :-) > > http://language-binding.net/pyplusplus/documentation/inserting_code.html#insert-code-to-class > > Ah, oops, sorry, I missed that one... > > class_t.add_declaration_code() can be considered a decoration function, > right? So until what stage is it valid to call this function? Is it ok > to call it *after* the actual decoration stage? I think the time when > I'll be calling it will be while the code creator tree is just being built. You can only call this function before code creators tree construction. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |