Skip to content
Snippets Groups Projects
Commit 2d40abb2 authored by Axel Naumann's avatar Axel Naumann
Browse files

Add extern "C" layer between TCling (rtti) and rootcling (no-rtti).

parent e8110fe6
No related merge requests found
// @(#)root/utils:$Id$
// Author: Axel Naumann, 2014-04-07
/*************************************************************************
* Copyright (C) 1995-2014, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
// Provides bindings to TCling (compiled with rtti) from rootcling (compiled
// without rtti).
#include "TCling.h"
extern "C"
cling::Interpreter* TCling__GetInterpreter()
{
return ((TCling*)gCling)->GetInterpreter();
}
// @(#)root/utils:$Id$
// Author: Axel Naumann, 2014-04-07
/*************************************************************************
* Copyright (C) 1995-2014, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
// Provides bindings to TCling (compiled with rtti) from rootcling (compiled
// without rtti).
namespace cling {
class Interpreter;
}
extern "C" {
cling::Interpreter* TCling__GetInterpreter();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment