ATLAS Offline Software
PyROOTTTreePatch.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
24 #ifndef ROOTUTILS_PYROOTTTREEPATCH_H
25 #define ROOTUTILS_PYROOTTTREEPATCH_H
26 
29 
30 #ifdef _POSIX_C_SOURCE
31 # undef _POSIX_C_SOURCE
32 #endif
33 #ifdef _XOPEN_SOURCE
34 # undef _XOPEN_SOURCE
35 #endif
36 #include "Python.h"
37 
38 
39 namespace RootUtils {
40 
41 
43 {
44 public:
51  static void Initialize (PyObject* tree_pyclass,
52  PyObject* chain_pyclass,
53  PyObject* branch_pyclass);
54 };
55 
56 
57 } // namespace RootUtils
58 
59 
60 #endif // not ROOTUTILS_PYROOTTTREEPATCH_H
RootUtils
Definition: ILogger.h:20
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
Definition: PyROOTTTreePatch.h:28
RootUtils::PyROOTTTreePatch
Definition: PyROOTTTreePatch.h:43
RootUtils::PyROOTTTreePatch::Initialize
static void Initialize(PyObject *tree_pyclass, PyObject *chain_pyclass, PyObject *branch_pyclass)
Install the PyROOT patches.
Definition: PyROOTTTreePatch.cxx:335
checker_macros.h
Define macros for attributes used to control the static checker.
PyObject
_object PyObject
Definition: IPyComponent.h:26