9 using fn_t =
int (*)();
10 static auto f =
reinterpret_cast<fn_t
>(
gSystem->DynFindSymbol(
"*",
"Py_IsInitialized"));
16 using fn_t = void (*)(
const char *, ...);
17 static auto f =
reinterpret_cast<fn_t
>(
gSystem->DynFindSymbol(
"*",
"PySys_WriteStdout"));
24 using fn_t = void (*)(
const char *, ...);
25 static auto f =
reinterpret_cast<fn_t
>(
gSystem->DynFindSymbol(
"*",
"PySys_WriteStderr"));
R__EXTERN TSystem * gSystem
void writeStdoutLine(const char *msg)
bool isPythonInitialized()
void writeStderrLine(const char *msg)