Home  /  Autodocs  /  amiga.lib

NAME

DoSuperMethodA
Perform method on object coerced to superclass.

SYNOPSIS

result = DoSuperMethodA(cl, obj, msg)

ULONG DoSuperMethodA(struct IClass *, Object *, Msg);

FUNCTION

Boopsi support function that invokes the supplied message on the specified object, as though it were the superclass of the specified class.

INPUTS

cl
Pointer to boopsi class whose superclass is to receive the message

obj
Pointer to boopsi object

msg
Pointer to method-specific message to send

RESULT

result
Class and message-specific result or NULL if either the cl or the obj pointer is NULL.

NOTES

DoSuperMethodA() checks if the either the cl or obj pointer is NULL and will return immediately if this is the case, indicating failure.

This function first appears in the V37 release of amiga.lib. While it intrinsically does not require any particular release of the system software to operate, it is designed to work with the boopsi subsystem of Intuition, which was only introduced in V36.

Some early example code may refer to this function as DSM().

SEE ALSO

CoerceMethodA(), DoMethodA(), DoSuperMethod(), <intuition/classusr.h> ROM Kernel Manual boopsi section