linkname_return_mangled_procedure_name_.htm
Navigation: Templates > Template Language Reference > Built-in Template Procedures >====== LINKNAME (return mangled procedure name) ====== | ![]() ![]() |
LINKNAME( prototype, //classname//], [//interfacename//] **, **[//parentInterfaceName// )
| LINKNAME | Returns the mangled procedure name for the linker. |
| Prototype | A string constant or symbol containing the prorotype of the procedure as it appears in the MAP. |
| class name | A string constant or symbol containing the name of the class the procedure is using. |
| interface name | A string constant or symbol containing the name of the interface that the class has implemented. |
| parentInterfaceName | If a member procedure of an Interface does not exist in the Interface and was inherited, then specify the parent Interface name where the method is defined. |
The LINKNAME procedure returns the mangled procedure name for the linker. If a class name or interface name is specified it should not be added as a parameter to the prototype.
Return Data Type: STRING
Examples:
| %(LINKNAME(%Procedure & %Prototype)) @%ExpLineNumber |
| %[55](LINKNAME(%pClsMeth & %pClsMethProt & ',' & %pClsMethCallCon, %pClassName)) @? |
| %[55](LINKNAME(%pIMeth & %pIMethodPrototype & ',' & %pIMethodCallCon, %pCName, %pIface, %pIfaceMethDef)) @? |
| #SET(%ExpLine,LINKNAME('MyExportedFunc(long,string),long')) |
| #SET(%ExpLine,LINKNAME('MyMember(long,string),long','MyClass')) |
| #SET(%ExpLine,LINKNAME('MyIntMember(long,string),long','MyClass','MyInterface')) |
See Also: Prototyper and Name Mangler
linkname_return_mangled_procedure_name_.htm.txt · Last modified: by 127.0.0.1





