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