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:
20b8870
)
cec: make add() and clear() camelcased again and re-add the old methods and mark...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 15 Nov 2011 23:54:39 +0000
(
00:54
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 15 Nov 2011 23:54:39 +0000
(
00:54
+0100)
include/cectypes.h
patch
|
blob
|
blame
|
history
diff --git
a/include/cectypes.h
b/include/cectypes.h
index f561d84748692ebf7116562f0a8d3357fece687a..1b942e6d2c11f40d85960bd60ace0c7330931eac 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-738,13
+738,22
@@
typedef struct cec_device_type_list
cec_device_type types[5];
#ifdef __cplusplus
- void clear(void)
+ /*!
+ * @deprecated
+ */
+ void clear(void) { Clear(); }
+ /*!
+ * @deprecated
+ */
+ void add(const cec_device_type type) { Add(type); }
+
+ void Clear(void)
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
types[iPtr] = CEC_DEVICE_TYPE_RESERVED;
}
- void
a
dd(const cec_device_type type)
+ void
A
dd(const cec_device_type type)
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
{