Mojo function
external_call
external_call[callee: StringLiteral, type: AnyTrivialRegType, *types: AnyType](*arguments: *types) -> type
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!