[Pyrex] conditional compiling

Bryan Weingarten bryan.weingarten at pobox.com
Wed Oct 15 01:27:59 CEST 2003


is it possible to have conditional defines?  something like this?

class Foo:
#if defined (_WIN32)
    def foo()
        pass
#endif

i'm wrapping a cross-platfrom library, and unfortunately it has function 
that only exists in the windows build.

thanks,

bryan





More information about the Pyrex mailing list