Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
stlLoader.cc
Go to the documentation of this file.
1#include "G__ci.h"
2#include "Api.h"
3#include "FastAllocString.h"
4
5#ifndef __CINT__
6static const char *what = WHAT;
7#endif
8
9static int stlLoader()
10{
11 G__ClassInfo cl("TSystem");
12 if (cl.IsValid() && strlen(WHAT)<1000) {
13 G__FastAllocString buf;
14 buf.Format("\"lib%sDict\"",what);
15
16 G__CallFunc func;
17 long offset;
18 func.SetFuncProto(&cl,"Load","const char*",&offset);
19
20 if (func.InterfaceMethod()) {
21 long tmp = G__int(G__calc("gSystem"));
22 void * gsystem = (void*)tmp;
23
24 func.SetArgs(buf);
25 func.Exec(gsystem);
26 }
27 }
28 return 0;
29}
30
31static int sltLoad = stlLoader();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
static const char * what
Definition stlLoader.cc:6
static int stlLoader()
Definition stlLoader.cc:9
static int sltLoad
Definition stlLoader.cc:31