aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qtcreatorcdbext/pystdoutredirect.h
blob: 5dc929106e4f068f3ddc5b1e45c0f190c7ad92de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <Python.h>
#include <string>

PyTypeObject *stdoutRedirect_pytype();

void startCapturePyStdout();
std::string getPyStdout();
void endCapturePyStdout();