X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=cc0b57ee449877333c85e2b073e217c6c0808a0a;hb=0b7822f9dbac67b733a7cbcb094535fe4a59a086;hp=b5ae1eca5dce16f6f9e191355155eb8bc88cc9c4;hpb=782db5ac5c06dcaeb14b3ce67a55c49888450a7a;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index b5ae1ec..cc0b57e 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -901,6 +901,12 @@ typedef struct cec_command return CEC_OPCODE_NONE; } + + void PushArray(size_t len, uint8_t *data) + { + for (size_t iPtr = 0; iPtr < len; iPtr++) + PushBack(data[iPtr]); + } #endif } cec_command;