Mojo function
external_call
external_call[callee: StringLiteral, type: AnyTrivialRegType, *types: AnyType](*arguments: *types) -> $1
Calls an external function.
Parameters:
- βcallee (
StringLiteral
): The name of the external function. - βtype (
AnyTrivialRegType
): The return type. - β*types (
AnyType
): The argument types.
Args:
- β*arguments (
*types
): The arguments to pass to the external function.
Returns:
The external call result.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?