ATLAS Offline Software
Loading...
Searching...
No Matches
PyROOTInspector.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef ROOTUTILS_PYROOTINSPECTOR_H
8#define ROOTUTILS_PYROOTINSPECTOR_H 1
9
10// Interacts with python, so only excuted single-threaded (GIL).
13
14#ifdef _POSIX_C_SOURCE
15# undef _POSIX_C_SOURCE
16#endif
17#include "Python.h"
18
19namespace RootUtils {
20
22{
23 public:
24 static
26 bool persistentOnly = false);
27
28 static
30 PyObject *obj_name,
31 bool persistentOnly = false,
32 bool retvecs = false);
33
34};
35
36} // namespace RootUtils
37
38#endif // not ROOTUTILS_PYROOTINSPECTOR_H
_object PyObject
Define macros for attributes used to control the static checker.
#define ATLAS_NO_CHECK_FILE_THREAD_SAFETY
static PyObject * pyroot_inspect(PyObject *obj, bool persistentOnly=false)
static PyObject * pyroot_inspect2(PyObject *obj, PyObject *obj_name, bool persistentOnly=false, bool retvecs=false)