[SPAM: 4.900] [Pyrex] __stdcall calling conventions in Pyrex
Greg Ewing
greg at cosc.canterbury.ac.nz
Wed May 26 03:39:28 CEST 2004
Grant McDonald <gmcdonald at infocomp.com>:
> this callback requires the use of the __stdcall convention. The only
> solution I have been able to come up with is to edit the pyrex-generated c
> file to add the __stdcall directive to the function declarations. Is there
> any way to make Pyrex include this directive in the generated file?
Currently, no. The only other thing I can think of is to
write a C wrapper for your callback and compile it separately.
If someone can tell me exactly where __stdcall fits into the
grammar of a function declaration, I'll see if I can do something
about this. I'm not familiar with all the idiosynchracies
of Microsoft C.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Pyrex
mailing list