(C) 1998 AROS - The Amiga Research OS


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

IPTR DoMethodA ()

SYNOPSIS
Object * obj
Msg message

FUNCTION
Invokes a method on a BOOPSI object. The dispatcher of the class, the object is inherited from, is called. For more information about methods a class supports, see the class documentation.

INPUTS
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(), CoerceMethodA(), DoSuperMethodA(), <intuition/classusr.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.

27.11.1996 aros
Removed the ":" behind the various HISTORY fields
25.11.1996 aros
Allow stacktags on special CPUs