[select] Add zero-copy support for API select commands (#12329)

This commit is contained in:
J. Nick Koston
2025-12-08 10:37:51 -05:00
committed by GitHub
parent d635892ecf
commit 801d1135ab
9 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -902,7 +902,7 @@ uint16_t APIConnection::try_send_select_info(EntityBase *entity, APIConnection *
}
void APIConnection::select_command(const SelectCommandRequest &msg) {
ENTITY_COMMAND_MAKE_CALL(select::Select, select, select)
call.set_option(msg.state);
call.set_option(reinterpret_cast<const char *>(msg.state), msg.state_len);
call.perform();
}
#endif