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