mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 16:11:59 +00:00
81511be341
With this change both C++ and Python write to sys.stdout which resolves the capture issues noted in #351. Therefore, the related workarounds are removed.
13 lines
250 B
C++
13 lines
250 B
C++
#pragma once
|
|
#include <pybind11/pybind11.h>
|
|
#include <functional>
|
|
#include <list>
|
|
|
|
namespace py = pybind11;
|
|
using namespace pybind11::literals;
|
|
|
|
class test_initializer {
|
|
public:
|
|
test_initializer(std::function<void(py::module &)> initializer);
|
|
};
|