Jump to content

Apply stub: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
m Redirected page to SOM Glossary#A
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A procedure corresponding to a particular method that accepts as arguments: the object on which the method is to be invoked, a pointer to a location in memory where the method's result should be stored, a pointer to the method's procedure, and the method's arguments in the form of a va_list. The apply stub extracts the arguments from the va_list, invokes the method with its arguments, and stores its result in the specified location. Apply stubs are registered with class objects when instance methods are defined, and are invoked using the [[somApply]] function. Typically, implementations that override [[somDispatch]] call somApply to invoke a method on a va_list of arguments.
#REDIRECT[[SOM_Glossary#A]]
 
[[Category:Stub]]

Latest revision as of 18:48, 6 March 2020

Redirect to: