2 #ifndef GAUDIKERNEL_SYSTEM_H
3 #define GAUDIKERNEL_SYSTEM_H
18 # include <execinfo.h>
36 typedef unsigned long (*
EntryPoint)(
const unsigned long iid,
void** ppvObject);
38 typedef void* (*Creator)();
79 inline bool getEnv(
const std::string &var, std::string &value) {
80 return getEnv(var.c_str(), value);
89 GAUDI_API int setEnv(
const std::string &name,
const std::string &value,
int overwrite = 1);
120 template <
typename DESTPTR,
typename SRCPTR>
121 inline DESTPTR FuncPtrCast(SRCPTR ptr) {
131 #endif // SYSTEM_SYSTEM_H