Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
core
inc
MantidPythonInterface
core
UninstallTrace.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
#include "
MantidPythonInterface/core/DllConfig.h
"
10
#include "
MantidPythonInterface/core/WrapPython.h
"
11
12
namespace
Mantid::PythonInterface
{
13
18
class
MANTID_PYTHONINTERFACE_CORE_DLL
UninstallTrace
{
19
public
:
20
UninstallTrace
();
21
~UninstallTrace
();
22
23
private
:
24
Py_tracefunc
m_tracefunc
;
25
PyObject *
m_tracearg
;
26
};
27
28
}
// namespace Mantid::PythonInterface
WrapPython.h
Mantid::PythonInterface::UninstallTrace
RAII handler to temporarily remove and reinstall a Python trace function.
Definition:
UninstallTrace.h:18
Mantid::PythonInterface::UninstallTrace::m_tracefunc
Py_tracefunc m_tracefunc
Definition:
UninstallTrace.h:24
Mantid::PythonInterface::UninstallTrace::m_tracearg
PyObject * m_tracearg
Definition:
UninstallTrace.h:25
DllConfig.h
MANTID_PYTHONINTERFACE_CORE_DLL
#define MANTID_PYTHONINTERFACE_CORE_DLL
Definition:
DllConfig.h:17
Mantid::PythonInterface
Definition:
CallMethod.h:17
Generated on Tue Jan 3 2023 11:57:58 for Mantid by
1.9.5