exposing #defines in an extension module

Campbell cb921 at voice.co.za
Tue Sep 25 10:50:02 EDT 2001


On 25 Sep 2001, Martin von Loewis wrote:

>What are these defines? Function-style macros or symbolic numeric
>values?

Sorry, they are all simply numeric values.

>For symbolic numeric values, it is common to expose them on the module
>level; recent Python versions add convenience functions for that. See
>termios.c for an example.

Thank you, On My Way....

Cheers,
Campbell




More information about the Python-list mailing list