flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Make C proc

Author
Thread Post new topic Reply to topic
alorent



Joined: 05 Dec 2005
Posts: 201
alorent
Merry Christmas guys!

I was wondering if using the "PROC" macro we can create a CDECL procedure.

I have seen that in "PROC.INC" there are definitions to call a procedure as stdcall, CDECL, etc, but how I can make my proc in "C" style so it can be called by a C application which expects is as CDECL?

Something like:

Code:
MyFunction proc CDECL arg1, arg2

...

MyFunction endp    


Thanks!
Post 25 Dec 2010, 08:22
View user's profile Send private message Reply with quote
SFeLi



Joined: 03 Nov 2004
Posts: 140
Location: Severodvinsk, Russia
SFeLi
proc MyFunction c,arg1,arg2
Post 25 Dec 2010, 08:49
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17251
Location: In your JS exploiting you and your system
revolution
Post 25 Dec 2010, 09:36
View user's profile Send private message Visit poster's website Reply with quote
alorent



Joined: 05 Dec 2005
Posts: 201
alorent
Thanks guys!!!
Post 26 Dec 2010, 07:59
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.