Skip to content

Commit

Permalink
WIP - fixing end-of-run crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinGuillaume committed Dec 10, 2024
1 parent 8c5f028 commit c4ab303
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/python_binding/src/python_binding/binding/vtx_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ namespace VTX::PythonBinding
m.doc() = "VTX Python module."; // optional module docstring

// Global pointer to VTX data
// pybind11::class_<PythonFixture::Core::System::SystemHandler, std::shared_ptr<PythonFixture::Core::System::SystemHandler>>(
// pybind11::class_<PythonFixture::Core::System::SystemHandler,
// std::shared_ptr<PythonFixture::Core::System::SystemHandler>>(
// m, "VTXSystem"
//);

// Class to redirect Python prints
pybind11::class_<LogRedirection, std::shared_ptr<LogRedirection>>( m, "LogRedirection" )
pybind11::class_<LogRedirection>( m, "LogRedirection" )
// pybind11::class_<LogRedirection, std::shared_ptr<LogRedirection>>( m, "LogRedirection" )
.def( "write", &LogRedirection::write )
.def( "flush", &LogRedirection::flush );

Expand Down

0 comments on commit c4ab303

Please sign in to comment.