ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("antarex.utils.mangling");

(.lara)
import antarex.utils.mangling;

Global Functions

getMangledName

getMangledName(vfile, includes, name, ccompiler)

Parameters

vfile: any
includes: any
name: any
ccompiler: any

Returns

any - the mangled name of name defined in a file (vfile). The compiling of vfile requires some includes (includes array of strings). Restricted to Linux currently.

getManglingForC

getManglingForC()

Returns

any - the value of the mangling mode for C, set by a call to the manglingForC function (default false). When this value is true, it specifies that the mangling is required for C code.

setManglingForC

setManglingForC(when, b)

Set the mangling for C mode.

Parameters

when: boolean - true the mangling for C function name is activated, not activated otherwise. It must be activated when a C code is compiled with a C++ compiler.
b: any