[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    CoerceMethod -- Perform method on coerced object.  (V36)

SYNOPSIS
    result = CoerceMethod( cl, obj, MethodID, ... )

    ULONG CoerceMethod( struct IClass *, Object *, ULONG, ... );

FUNCTION
    Boopsi support function that invokes the supplied message
    on the specified object, as though it were the specified
    class.  Equivalent to coercemethoda(), but allows you to
    build the message on the stack.

INPUTS
    cl - pointer to boopsi class to receive the message
    obj - pointer to boopsi object
    ... - method-specific message built on the stack

RESULT
    result - class and message-specific result.

NOTES
    While this function requires V36 or higher intuition.library,
    it first appeared in V37 amiga.lib.

SEE ALSO
    coercemethoda(), domethoda(), dosupermethoda(), <intuition/classusr.h>
    ROM Kernel Manual boopsi section