C (65/178)

From:Paul Hill
Date:15 Jul 2000 at 18:41:25
Subject:Re: I am going OO nuts !!!

On 15-Jul-00 15:25:03, Allan Odgaard wrote:
>On 15-Jul-00, Colin Wenzel wrote:

>> However, linking is another story, I cannot resolve the
>> symbols: DoMethod() & MUI_MakeObject()
>> [...]
>> Could you or anyone else supply the stub routines or
>> prototype info for these calls please.....

>Though the latter should be done by the compiler, by using "#pragma
>tagcall" in the appropriate pragma file. And the former is a function
>of amiga.lib, it's prototyped in "clib/alib_protos.h".

For GCC these calls are stored as macros [1] in the appropriate proto file.
They're generated form the fd/clib files by fd2inline.

[1] this method is less than ideal and can cause problems, especially with
MUI. I got around this by sticking MUI_MakeObject() in a .lib and
commenting out the sections in inline/muimaster.h.

Not nice. I know.



Paul

------------------------------------------------------------------------
It's the End Of The Line for My Shipping Broker.
http://click.egroups.com/1/5175/1/_/451227/_/963678827/
------------------------------------------------------------------------