7 #ifndef STOREGATEBINDINGS_ATHENAPYROOT_H
8 #define STOREGATEBINDINGS_ATHENAPYROOT_H 1
15 #include "CPyCppyy/PyException.h"
16 #ifndef ROOT_TPyException
17 # define ROOT_TPyException 1
20 #define CPPInstance_ASVOIDPTR(o) (TPython::CPPInstance_AsVoidPtr(o))
29 PyObject* pytype = 0, *pyvalue = 0, *pytrace = 0;
30 PyErr_Fetch (&pytype, &pyvalue, &pytrace);
35 PyErr_Restore (pytype, pyvalue, pytrace);
44 #endif //> STOREGATEBINDINGS_ATHENAPYROOT_H