Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
rootcling.cxx
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
11#include "rootclingTCling.h"
12#include "rootclingIO.h"
13#include "rootcling_impl.h"
14#include "RConfigure.h"
15#include <ROOT/RConfig.hxx>
16#include "TSystem.h"
17
18extern "C" {
20}
21
22// force compiler to emit symbol for function above
24
25int main(int argc, char **argv)
26{
27 (void) dlsymaddr; // avoid unused variable warning
28
30
31 config.fBuildingROOTStage1 = false;
32 config.fPRootDir = &gRootDir;
33 config.fTROOT__GetExtraInterpreterArgs = &TROOT__GetExtraInterpreterArgs;
34 config.fTROOT__GetIncludeDir = &TROOT__GetIncludeDir;
35 config.fTROOT__GetEtcDir = &TROOT__GetEtcDir;
36 config.fTCling__GetInterpreter = &TCling__GetInterpreter;
37 config.fInitializeStreamerInfoROOTFile = &InitializeStreamerInfoROOTFile;
38 config.fAddStreamerInfoToROOTFile = &AddStreamerInfoToROOTFile;
39 config.fAddTypedefToROOTFile = &AddTypedefToROOTFile;
40 config.fAddEnumToROOTFile = &AddEnumToROOTFile;
41 config.fCloseStreamerInfoROOTFile = &CloseStreamerInfoROOTFile;
42
43 return ROOT_rootcling_Driver(argc, argv, config);
44}
externconst char * gRootDir
Definition TSystem.h:251
#define void
Definition Tailor.h:179
int main()
void AddTypedefToROOTFile(const char *tdname)
bool CloseStreamerInfoROOTFile(bool writeEmptyRootPCM)
void AddEnumToROOTFile(const char *tdname)
void InitializeStreamerInfoROOTFile(const char *filename)
void AddStreamerInfoToROOTFile(const char *normName)
const char *** TROOT__GetExtraInterpreterArgs()
const char * TROOT__GetEtcDir()
const char * TROOT__GetIncludeDir()
cling::Interpreter * TCling__GetInterpreter()
void usedToIdentifyRootClingByDlSym()
Definition rootcling.cxx:19
int ROOT_rootcling_Driver(int argc, char **argv, const ROOT::Internal::RootCling::DriverConfig &config)
#define R__DLLEXPORT
R__DLLEXPORT void usedToIdentifyRootClingByDlSym()
static void(* dlsymaddr)()