[Pyrex] ANN: Pyrex 0.9.6.3

Jim Kleckner jek-gmane at kleckner.net
Thu Oct 25 18:37:15 CEST 2007


Greg Ewing wrote:
> Pyrex 0.9.6.3 is now available:

The trivial patch below eliminates some compiler
warnings about redefining __stdcall for me.

--- ModuleNode.py       2007-10-25 09:33:21.941245800 -0700
+++ 
/usr/local/src/3psw/Pyrex-0.9.6/Pyrex-0.9.6.3/pyrex/Compiler/ModuleNode.py 
  2007-10-16 04:03:01.000000000 -0700
@@ -247,10 +247,8 @@
          code.putln("  #define PyInt_FromSsize_t(z) PyInt_FromLong(z)")
          code.putln("  #define PyInt_AsSsize_t(o)       PyInt_AsLong(o)")
          code.putln("#endif")
-        code.putln("#ifndef __stdcall")
+        code.putln("#ifndef WIN32")
          code.putln("  #define __stdcall")
-        code.putln("#endif")
-        code.putln("#ifndef __cdecl")
          code.putln("  #define __cdecl")
          code.putln("#endif")
          self.generate_extern_c_macro_definition(code




More information about the Pyrex mailing list