projects
/
apps
/
core
/
preloaded
/
indicator-win.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clock: rewrite unicode using i18n API.
[apps/core/preloaded/indicator-win.git]
/
inc
/
util.h
diff --git
a/inc/util.h
b/inc/util.h
index
bb69022
..
a359e4f
100644
(file)
--- a/
inc/util.h
+++ b/
inc/util.h
@@
-72,4
+72,6
@@
extern void util_icon_access_register(icon_s *icon);
extern void util_icon_access_unregister(icon_s *icon);
#endif /* _SUPPORT_SCREEN_READER */
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+
#endif /* __INDICATOR_UTIL_H__ */