Everyone wants these symbols; for now put the symbol request through static init into UserInterface
git-svn-id: http://root.cern.ch/svn/root/trunk@46982 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
ee3b83e48a
commit
b4a8dcde49
@ -31,4 +31,11 @@ void libcling__symbol_requester(const clang::FunctionDecl& Decl,
|
||||
DEI.getExpr();
|
||||
cling::InterpreterCallbacks cb(0);
|
||||
}
|
||||
|
||||
static struct ForceSymbolsAsUsed {
|
||||
typedef void (*SRType)(const clang::FunctionDecl& Decl,
|
||||
const cling::Interpreter& Interp);
|
||||
ForceSymbolsAsUsed(): mPtr(libcling__symbol_requester) {}
|
||||
SRType mPtr;
|
||||
} sForceSymbolsAsUsed;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user