Python: Wrapping #define's and enum's