Mail Archives: djgpp/1997/09/03/21:03:30
J. van der Laan <jvdlaan AT noord DOT bart DOT nl> wrote:
> Does anyone know how to implement an _PASCAL calling convention in DJGPP?
void foo ( int bar ) __attribute__ (( stdcall ));
Yes, with double parentheses.
See also
info -f gcc -n "Function Attributes"
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter DOT gerwinski AT uni-essen DOT de - http://home.pages.de/~peter.gerwinski/ [970201]
maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]
- Raw text -