[Pyrex] Function decorations

Christian Heimes lists at cheimes.de
Sun Mar 18 14:01:07 UTC 2007


Peter Waller schrieb:
> My current method is to write the code in a .h and include it, which I'm
> pretty happy with, but I was wondering if there was a 'better way' (TM)

Other developers might consider it as a dirty hack or bad style but it
works. Header files shouldn't contain code. Why don't you use a C file
for the C code?




More information about the Pyrex mailing list