mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -4,10 +4,10 @@ classes:
|
||||
DataLogBackgroundWriter:
|
||||
overloads:
|
||||
std::string_view, std::string_view, double, std::string_view:
|
||||
wpi::Logger&, std::string_view, std::string_view, double, std::string_view:
|
||||
wpi::util::Logger&, std::string_view, std::string_view, double, std::string_view:
|
||||
ignore: true
|
||||
std::function<void (std::span<const uint8_t> data)>, double, std::string_view:
|
||||
wpi::Logger&, std::function<void (std::span<const uint8_t> data)>, double, std::string_view:
|
||||
wpi::util::Logger&, std::function<void (std::span<const uint8_t> data)>, double, std::string_view:
|
||||
ignore: true
|
||||
SetFilename:
|
||||
Flush:
|
||||
|
||||
@@ -263,7 +263,7 @@ classes:
|
||||
ignore: true
|
||||
wpi::log::DataLogReader:
|
||||
typealias:
|
||||
- wpi::MemoryBuffer
|
||||
- wpi::util::MemoryBuffer
|
||||
methods:
|
||||
DataLogReader:
|
||||
ignore: true
|
||||
@@ -294,7 +294,7 @@ inline_code: |
|
||||
|
||||
cls_DataLogReader
|
||||
.def(py::init([](const std::string &filename) {
|
||||
auto mbuf = wpi::MemoryBuffer::GetFile(filename);
|
||||
auto mbuf = wpi::util::MemoryBuffer::GetFile(filename);
|
||||
if (!mbuf) {
|
||||
py::gil_scoped_acquire gil;
|
||||
#ifdef _WIN32
|
||||
@@ -318,7 +318,7 @@ inline_code: |
|
||||
throw py::value_error("buffer must only have a single dimension");
|
||||
}
|
||||
|
||||
auto mbuf = wpi::MemoryBuffer::GetMemBuffer(std::span((uint8_t*)req.ptr, req.size), name);
|
||||
auto mbuf = wpi::util::MemoryBuffer::GetMemBuffer(std::span((uint8_t*)req.ptr, req.size), name);
|
||||
|
||||
{
|
||||
py::gil_scoped_release gil;
|
||||
|
||||
@@ -16,11 +16,11 @@ classes:
|
||||
param_override:
|
||||
ec:
|
||||
ignore: true
|
||||
wpi::Logger&, std::string_view, std::error_code&, std::string_view:
|
||||
wpi::util::Logger&, std::string_view, std::error_code&, std::string_view:
|
||||
ignore: true
|
||||
std::unique_ptr<wpi::raw_ostream>, std::string_view:
|
||||
std::unique_ptr<wpi::util::raw_ostream>, std::string_view:
|
||||
ignore: true
|
||||
wpi::Logger&, std::unique_ptr<wpi::raw_ostream>, std::string_view:
|
||||
wpi::util::Logger&, std::unique_ptr<wpi::util::raw_ostream>, std::string_view:
|
||||
ignore: true
|
||||
Flush:
|
||||
Stop:
|
||||
|
||||
Reference in New Issue
Block a user