[openbeos] Re: internal_function
- From: "François Revol" <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 19 Feb 2004 12:59:15 +0100 CET
From more search:
+/* On some platforms we can compile internal, not exported functions
better.
+ Let the environment provide a macro and define it to be empty if it
+ is not available. */
+#ifndef internal_function
+# define internal_function
+#endif
It looks like the Amiga calling convention :)
Now, it doesn't seem to be documented anywhere in gcc manuals...
http://www.google.fr/search?q=site%3Agcc.gnu.org+internal_function&btnG
=Recherche+Google&hl=fr&ie=ISO-8859-1
So I suppose in the glibc sources it's #defined as __asm__ or
something.
François.
> I found someone discussing it via google here:
> http://groups.google.com/groups?q=internal_function+gnu&hl=en&lr=&ie=
> UTF-8&oe=utf-8&c2coff=1&safe=off&selm=
1028027232%40p100.f1057.n5020.z2.FidoNet.ftn&rnum=5
>
> --- Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx> wrote:
> > I thought that I had seen everything... I am building some command
> > line tools
> > from the GNU suite and I came across a function declaration that
> > looks like
> > this:
> >
> > static int FCT (const CHAR *pattern, const CHAR *string,
> > const CHAR *string_end, int no_leading_period, int flags)
> > internal_function;
> >
> > I have *never* seen this internal_function thing. My copy of
> > Lippman doesn't
> > mention it. Can anyone enlighten me?
> >
>
>
> =====
> = Chris Simmons,
> = Avid BeOS User.
> = http://sf.net/projects/phpmyjobs
> = http://www.beosjournal.org
> = http://www.betips.net
> =====
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
>
- References:
- [openbeos] Re: internal_function
- From: Chris Simmons
Other related posts:
- » [openbeos] internal_function
- » [openbeos] Re: internal_function
- » [openbeos] Re: internal_function
- [openbeos] Re: internal_function
- From: Chris Simmons