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