[C++-sig] Pyste: patch to export all enums automatically

Nicodemus nicodemus at esss.com.br
Thu Feb 10 22:13:35 CET 2005


Hi Baptiste,

Baptiste Lepilleur wrote:

>    The attached patch adds the command-line option --export-enum-values to
>automatically call export_values() on all enum declarations.
>
>    If the command-line option is not specified, the behavior remain
>unchanged and you still need to specify call export_values(...) on each enum
>if you want to export it.
>  
>

Thanks for the patch! I'm just not so sure if that's the best way to 
implement a feature like that (perhaps Pyste's command line is too 
cluttered already?). Opinions, anyone?

Regards,
Nicodemus.



More information about the Cplusplus-sig mailing list