C (63/178)

From:Colin Wenzel
Date:15 Jul 2000 at 17:28:45
Subject:Re: I am going OO nuts !!!

On 16-Jul-00, 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.....

> This will probably work:
> ULONG DoMethod (Object *obj, ULONG methodID, ...)
> { return DoMethodA(obj, (Msg)&methodID); }
>
> Object *MUI_MakeObject (ULONG objType, ULONG firstParam, ...)
> { return MUI_MakeObjectA(objType, &firstParam); }

> 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".
> Regards Allan

All that is my clib/alib.protos is:

ULONG DoMethodA( Object *obj, Msg message );
ULONG DoMethod( Object *obj, ULONG methodID, ... );

Those are not pragmas as far as I understand,
they are function prototypes/declarations/templates....

I need the actual pragma or the stub routine for the function,
like this example: #pragma amicall(AslBase, 0x3c, AslRequest(a0,a1))
or better still,
the ASM stub that I can add to my linker library: amiga.lib.

Any suggestions ??

Regards



_________________________________________

Colin Wenzel. Australia.

EMAIL: colstv@hotkey.net.au
URL: http://www.hotkey.net.au/~colstv/
ICQ: 17608330
AMIGA: 4000T, 68060/50, 150Mb RAM,
OS 3.5, Spectrum Gfx Card.
_________________________________________

------------------------------------------------------------------------
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/963678563/
------------------------------------------------------------------------