[Ffmpeg-devel] stdint.h and inttypes.h for non-C99 compilers

Christian Iversen chrivers
Thu Dec 14 22:50:51 CET 2006


On Wednesday 13 December 2006 12:56, M?ns Rullg?rd wrote:
> Alexander Chemeris said:
> > Why do you change this?
> > Is __cdecl is not enough?
>
> You're both wrong.  The __cdecl modifier tells the compiler to use the
> standard C calling convention (the alternative being __stdcall for Pascal
> calling convention). 

Just FYI, __stdcall is usually _not_ used in pascal. The calling conventions 
that sane pascal compilers call "pascal" is a register-based convention, that 
is much more efficient. The corresponding pascal function attribute 
is "stdcall;"

-- 
Regards,
Christian Iversen




More information about the ffmpeg-devel mailing list