Mojo function
external_call
external_call[callee: StringSlice[StaticConstantOrigin], return_type: RegisterPassable, *types: AnyType](*args: *types.values) -> return_type
Calls an external function.
Parameters:
- βcallee (
StringSlice): The name of the external function. - βreturn_type (
RegisterPassable): The return type. - β*types (
AnyType): The argument types.
Args:
- β*args (
*types.values): The arguments to pass to the external function.
Returns:
return_type: The external call result.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!