(C) 1998 AROS - The Amiga Research OS


NAME
#include <intuition/classusr.h>
#include <proto/intuition.h>

IPTR DoSuperMethodA ()

SYNOPSIS
Class * cl
Object * obj
Msg message

FUNCTION
Invokes a method on a BOOPSI object, as if this was a object, inherited from the superclass of the class passed in. Ie the dispatcher of the superclass is called instead of the objects classes dispatcher.

INPUTS
cl
Class, which superclasses dispatcher is to be called.
obj
The object, on which the method is to be performed on.
message
The message. The first field is the same for all methods and specifies which method is to be invokes (see <intuition/classusr.h>).

RESULT
Class and method depending. See the class documentation. A value of 0 can mean a valid return code but can also mean that a method was not supported.

EXAMPLE

SEE ALSO
NewObjectA(), SetAttrsA(), GetAttr(), DisposeObject(), DoMethodA(), CoerceMethodA(), <intuition/classes.h>

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
18.10.1997 srittau
Pointers to objects and classes are now checked for validity (ie if they are non-null)

Translated German descriptions into English

30.04.1997 aros
Optimized headers
27.01.1997 ldp
Include proto instead of clib
04.12.1996 aros
The macros AROS_SLOWSTACKTAGS and AROS_SLOWSTACKMETHODS now use AROS_TAGRETURNTYPE and AROS_METHODRETURNTYPE to create a variable called retval in which the use suplied part of the function must store the return value. If these types are not defined, then the types default to IPTR.
28.11.1996 aros
A couple of new functions in amiga.lib

Easier code to handle stacktags and stackmethods.

25.11.1996 aros
Allow stacktags on special CPUs