ROOT
git-r3/HEAD
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
static
const
char
*
what
= WHAT;
6
7
static
int
stlLoader
()
8
{
9
G__ClassInfo cl(
"TSystem"
);
10
if
(cl.IsValid() && strlen(WHAT)<1000) {
11
G__FastAllocString buf;
12
buf.Format(
"\"lib%sDict\""
,
what
);
13
14
G__CallFunc func;
15
long
offset;
16
func.SetFuncProto(&cl,
"Load"
,
"const char*"
,&offset);
17
18
if
(func.InterfaceMethod()) {
19
long
tmp = G__int(G__calc(
"gSystem"
));
20
void
* gsystem = (
void
*)tmp;
21
22
func.SetArgs(buf);
23
func.Exec(gsystem);
24
}
25
}
26
return
0;
27
}
28
29
static
int
sltLoad
=
stlLoader
();
what
static const char * what
Definition
stlLoader.cc:5
stlLoader
static int stlLoader()
Definition
stlLoader.cc:7
sltLoad
static int sltLoad
Definition
stlLoader.cc:29
core
clingutils
src
stlLoader.cc
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1