spec files - syntax and generation

Alexandre Julliard julliard at winehq.org
Tue Oct 28 21:47:08 CST 2003


Shachar Shemesh <wine-devel at shemesh.biz> writes:

> STDCALL means PASCAL call format. This means two things, mostly. First
> -
> it means arguments are pushed on the stack left to right instead of
> right to left (no way you can pass printf style variable length
> arguments). The second is that it is the functions' responsibility,
> rather than the caller, to remove the arguments from the stack.

Actually stdcall is not the same as pascal, it's a hybrid between
pascal and C. With stdcall, arguments are pushed right to left like in
C, but the called function cleans up the stack.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list