Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions subprojects/robotpy-wpilib/semiwrap/AddressableLED.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ classes:
overloads:
std::span<const LEDData>:
std::initializer_list<LEDData>:
cpp_code: |
[](wpi::AddressableLED& self, const wpi::AddressableLEDBuffer& data) {
return self.SetData(data);
}, py::prepend()
ignore: true
Comment thread
pjreiniger marked this conversation as resolved.
Comment thread
virtuald marked this conversation as resolved.
SetColorOrder:
GetChannel:
SetStart:
GetStart:
SetGlobalData:
enums:
ColorOrder:
inline_code: |
.def("setData", [](wpi::AddressableLED& self, const wpi::AddressableLEDBuffer& data) {
return self.SetData(data);
}, release_gil(), py::prepend());
wpi::AddressableLED::LEDData:
force_no_trampoline: true
ignored_bases:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classes:
ignore: true
CreateView:
rename: __getitem__
no_release_gil: true
keepalive:
- [0, 1]
inline_code: |
Expand Down
Loading