🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11706

Re: Help--Library function offsets, cont'd

#11706
From: Colin Plumb
Date: Tue, 07 Mar 1989 08:29
14 lines
1101 bytes
Classic_-_Concepts@cup.portal.com wrote:
>      In C, when you take the address of a function (i.e., Text in
> Graphics library), is that address the entry point to the function
> or does it represent a jump into the library Table from which the
> function is called?                            Dan

Actually, it's probably the entry point to the library glue routine,
neither of the above.  The library routines expect to be called with
parameters in registers in a particular way, and this isn't the calling
convention used by most C compilers.
-- 
	-Colin (uunet!microsoft!w-colinp)

"Don't listen to me.  I never do." - The Doctor
Technical Details
Message-ID: <820@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!microsoft!w-colinp
References: <3328@amiga.UUCP> <15389@cup.portal.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!microsoft!w-colinp
From: w-colinp@microsoft.UUCP (Colin Plumb)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help--Library function offsets, cont'd
Message-ID: <820@microsoft.UUCP>
Date: 7 Mar 89 08:29:17 GMT
References: <3328@amiga.UUCP> <15389@cup.portal.com>
Reply-To: w-colinp@microsoft.uucp (Colin Plumb)
Organization: very little
Lines: 14