News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

calling conventions

Started by mabdelouahab, December 30, 2015, 06:55:40 AM

Previous topic - Next topic

mabdelouahab

Happy New Year Everyone   :biggrin:
How can I make a TYPEDEF PROTO for following calling conventions :
QuoteCC_FASTCALL               
CC_CDECL                   
CC_MSCPASCAL               
CC_PASCAL                   
CC_MACPASCAL               
CC_STDCALL                 
CC_FPFASTCALL               
CC_SYSCALL                 
CC_MPWCDECL                 
CC_MPWPASCAL                 

I know STDCALL,CDECL,PASCAL ,SYSCALL

  MyFuncTPROTO TYPEDEF PROTO stdcall
  MyFuncTPROTO TYPEDEF PROTO c
  MyFuncTPROTO TYPEDEF PROTO pascal
  MyFuncTPROTO TYPEDEF PROTO syscall



Adamanteus

 That's depends of what langtype supports itself assembler, so it you need special types of proto langtype, you could use CALL and ifidni conditions, comparing strings of langtype in some macro.

K_F

Quote
Happy New Year Everyone   :biggrin:
You started celebrating already ??
:biggrin:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'