Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
rootcling_impl.h
Go to the documentation of this file.
1// Authors: Axel Naumann, Philippe Canal, Danilo Piparo
2
3/*************************************************************************
4 * Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11namespace cling {
12 class Interpreter;
13}
14
15namespace ROOT {
16namespace Internal {
17namespace RootCling {
18 struct DriverConfig {
19 bool fBuildingROOTStage1 = false;
20 const char** fPRootDir = nullptr;
21
22 // Function that might (rootcling) or might not (rootcling_stage1) be there.
23 const char ** * (*fTROOT__GetExtraInterpreterArgs)() = nullptr;
24 const char *(*fTROOT__GetIncludeDir)() = nullptr;
25 const char *(*fTROOT__GetEtcDir)() = nullptr;
26 cling::Interpreter *(*fTCling__GetInterpreter)() = nullptr;
27 void (*fInitializeStreamerInfoROOTFile)(const char *filename) = nullptr;
28 void (*fAddStreamerInfoToROOTFile)(const char *normName) = nullptr;
29 void (*fAddTypedefToROOTFile)(const char *tdname) = nullptr;
30 void (*fAddEnumToROOTFile)(const char *tdname) = nullptr;
31 bool (*fCloseStreamerInfoROOTFile)(bool writeEmptyRootPCM) = nullptr;
32 };
33} // namespace RootCling
34} // namespace Internal
35} // namespace ROOT
36
37#ifndef R__DLLEXPORT
38#ifdef _MSC_VER
39#define R__DLLEXPORT __declspec(dllexport)
40#else
41#define R__DLLEXPORT __attribute__ ((visibility ("default")))
42#endif
43#endif
44
45extern "C" R__DLLEXPORT
46int ROOT_rootcling_Driver(int argc, char **argv, const ROOT::Internal::RootCling::DriverConfig& config);
int ROOT_rootcling_Driver(int argc, char **argv, const ROOT::Internal::RootCling::DriverConfig &config)
#define R__DLLEXPORT
bool(* fCloseStreamerInfoROOTFile)(bool writeEmptyRootPCM)
void(* fAddEnumToROOTFile)(const char *tdname)
void(* fInitializeStreamerInfoROOTFile)(const char *filename)
void(* fAddTypedefToROOTFile)(const char *tdname)
void(* fAddStreamerInfoToROOTFile)(const char *normName)