Mojo function
get_linkage_name
get_linkage_name[func_type: AnyTrivialRegType, //, target: target, func: $0]() -> StringLiteral
Returns func
symbol name.
Parameters:
- func_type (
AnyTrivialRegType
): Type of func. - target (
target
): The compilation target. - func (
$0
): A mojo function.
Returns:
Symbol name.
get_linkage_name[func_type: AnyTrivialRegType, //, func: $0]() -> StringLiteral
Returns func
symbol name.
Parameters:
- func_type (
AnyTrivialRegType
): Type of func. - func (
$0
): A mojo function.
Returns:
Symbol name.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!