TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mario Semo
from: Andrew Grillet
date: 1996-01-27 18:32:26
subject: Re: callconv.txt

-=> On 21 Jan 96  04:04:50 Mario Semo said to Paul Edwards <=-


 MS> Linkage        Name Mapping          Linkage
 MS> ----------     ------------          -------
 MS> C++            f(x) = mangle(x)      register/stack, R-L, ...
 MS> OPTLINK        f(x) = x              register/stack, R-L, ...
 MS> SYSTEM         f(x) = x              stack, R-L, ...
 MS> FAR16 PASCAL   f(x) = strupr(x)      stack, L-R, ...
 MS> FAR16 CDECL    f(x) = strcat("_", x) stack, R-L, ...
 MS> FAR16 FASTCALL f(x) = strcat("{at}", x) register/stack, R-L, ...

 MS> where R-L means parameters are pushed right-to-left and L-R, left-to-
 MS> right.

Wouldn't it be great if this was put in the manual. Its so much easier to
understand than the stuff that is there! Us programmers are really good at
understanding programming terminology. (But we still need the explanation
of what happens to the registers, cos debugging is impossible without.)


Please send a copy of this message to whoever is responsible for the manual.

Andrew


... "Well, what if there is *no* tomorrow?  There wasn't one today!"
--- Blue Wave/Max v2.12 OS/2 [NR]
* Origin: Me/2 (2:254/259)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 254/259 442/403 25/10 255/1 440/4 141/209 270/101 712/515 711/808 809
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.