repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added cec_command::PushArray()
[deb_libcec.git]
/
include
/
cectypes.h
diff --git
a/include/cectypes.h
b/include/cectypes.h
index 72295ada13d13ffebbe227973939c5778cf43d33..cc0b57ee449877333c85e2b073e217c6c0808a0a 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-112,6
+112,7
@@
namespace CEC {
#define CEC_MIN_LIB_VERSION 1
#define CEC_LIB_VERSION_MAJOR 1
#define CEC_MIN_LIB_VERSION 1
#define CEC_LIB_VERSION_MAJOR 1
+#define CEC_LIB_VERSION_MAJOR_STR "1"
#define CEC_LIB_VERSION_MINOR 7
typedef enum cec_abort_reason
#define CEC_LIB_VERSION_MINOR 7
typedef enum cec_abort_reason
@@
-900,6
+901,12
@@
typedef struct cec_command
return CEC_OPCODE_NONE;
}
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;
#endif
} cec_command;