[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Objects' (#rtl)

# CallVoidMethodLocal

Call a local procedure of a method

## Declaration

Source position: objects.pp line 615

`function CallVoidMethodLocal(`
`Func: CodePointer;`
`Frame: Pointer;`
`Obj: pointer`
`):pointer;`

## Description

CallVoidMethodLocal calls the local procedure with address Func, where Frame is the frame of the wrapping method.

## Errors

If the local function expects parameters, the stack may become corrupted.

## See also

CallPointerMethod |  | Call a method with a single pointer argument
CallVoidMethod |  | Call an object method
CallPointerLocal |  | Call a local nested function with a pointer argument
CallVoidLocal |  | Call a local nested procedure.
CallPointerMethodLocal |  | Call a local procedure of a method with a pointer argument
CallVoidConstructor |  | Call a constructor with no arguments
CallPointerConstructor |  | Call a constructor with a pointer argument.

Documentation generated on: May 14 2021