somAddDynamicMethod - Parameters
receiver (SOMClass)
A pointer to a SOM class
object.
methodId (somId)
A somId that names
the method.
methodDescriptor (somId)
A somId appropriate
for requesting information concerning the method from the SOM IR. This is
currently of the form <className>: :<methodName>.
method (somMethodPtr)
A pointer to the procedure
that will implement the new method. The first argument of this procedure
is the address of the object on which it is being invoked.
applyStub (somMethodPtr)
A pointer to a procedure
that returns nothing and receives as arguments: a method receiver; an address
where the return value from the method call is to be stored; a pointer to
a method procedure; and a va_list containing the arguments to the method.
The applyStub procedure (which is usually called by somDispatch must
unload its va_list argument into separate variables of the correct type
for the method, invoke its procedure argument on these variables, and then
copy the result of the procedure invocation to the address specified by
the return value argument.
rc
[Back: somAddDynamicMethod Parameter - rc]
[Next: somAddDynamicMethod - Remarks]