CallPointerMethod

Call a method with a single pointer argument

Declaration

Source position: objects.pp line 624

  function CallPointerMethod(Method: CodePointer; Obj: pointer; 
                            Param1: pointer) : pointer;

Description

CallPointerMethod calls the method with address Method for instance Obj. It passes Param1 to the method as the single argument. It returns a pointer to the instance.

Errors

If the method expects other parameters than a single pointer, the stack may become corrupted.

See also

Name Description
CallPointerConstructor Call a constructor with a pointer argument.
CallPointerLocal Call a local nested function with a pointer argument
CallPointerMethodLocal Call a local procedure of a method with a pointer argument
CallVoidConstructor Call a constructor with no arguments
CallVoidLocal Call a local nested procedure.
CallVoidMethod Call an object method
CallVoidMethodLocal Call a local procedure of a method

results matching ""

    No results matching ""