Yuari
Documentation
Docs/Oth/trampoline_call

trampoline_call

Calls through a trampoline.

Syntax

trampoline_call(target: any, ...) -> nil

Parameters

ParameterTypeDescription
targetanyThe function or object being targeted.
......Additional arguments forwarded to the target.

Returns

TypeDescription
nilThis function does not return a value.

Description

trampoline_call is part of the Oth library. Oth works at the raw hook layer. It installs function hooks, exposes their handles and provides trampoline calls.

The operation is performed immediately using the arguments supplied at the call site.

Example

trampoline_call(print, "hello from the trampoline")

Notes

  • Raw hooks bypass closure-level safety; always keep the returned handle so you can unhook.