repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782db5a
)
cec: added cec_command::PushArray()
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 20 Jun 2012 13:31:46 +0000
(15:31 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 20 Jun 2012 13:31:46 +0000
(15:31 +0200)
include/cectypes.h
patch
|
blob
|
blame
|
history
diff --git
a/include/cectypes.h
b/include/cectypes.h
index b5ae1eca5dce16f6f9e191355155eb8bc88cc9c4..cc0b57ee449877333c85e2b073e217c6c0808a0a 100644
(file)
--- 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;