summaryrefslogtreecommitdiff
path: root/XKBgeom.h
diff options
context:
space:
mode:
Diffstat (limited to 'XKBgeom.h')
-rw-r--r--XKBgeom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/XKBgeom.h b/XKBgeom.h
index f603852..cef78fa 100644
--- a/XKBgeom.h
+++ b/XKBgeom.h
@@ -95,6 +95,11 @@ typedef struct _XkbBounds {
#define XkbBoundsWidth(b) (((b)->x2)-((b)->x1))
#define XkbBoundsHeight(b) (((b)->y2)-((b)->y1))
+/*
+ * In the following structs, this pattern is used for dynamically sized arrays:
+ * foo is an array for which sz_foo entries are allocated & num_foo are used
+ */
+
typedef struct _XkbOutline {
unsigned short num_points;
unsigned short sz_points;