Re: [pygccxml-development] properties detection
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-08-07 18:51:43
|
On Thu, Aug 7, 2008 at 9:37 PM, Ben Schleimer <bsc...@lu...> wrote: > Isn't it better to use explicit annotations rather then relying on > pattern-matching to figure out what is a property and what isn't? The only "right" answer is: it depends. If you have some coding convention - you can reuse it. Most projects do have the coding convention. > Like using the META_PROPERTY() macro to add __gccxml__ attributes into > the code. In many projects, changing the code is not an option and running some intelligent algorithm helps to cover 90-95% of all properties, so why not to use it? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |