Improve misleading comments #270
authorMladen Milinkovic <maxrd2@smoothware.net>
Thu, 24 Feb 2022 09:48:50 +0000 (10:48 +0100)
committerRan Benita <ran@unusedvar.com>
Thu, 24 Feb 2022 10:43:20 +0000 (12:43 +0200)
include/xkbcommon/xkbcommon.h

index f52dcfa..c2b099f 100644 (file)
@@ -1201,7 +1201,8 @@ xkb_keymap_num_levels_for_key(struct xkb_keymap *keymap, xkb_keycode_t key,
  * @code xkb_keymap_num_levels_for_key(keymap, key) @endcode
  * @param[out] masks_out  A buffer in which the requested masks should be
  * stored.
- * @param[out] masks_size The size of the buffer pointed to by masks_out.
+ * @param[out] masks_size The number of elements in the buffer pointed to by
+ * masks_out.
  *
  * If @c layout is out of range for this key (that is, larger or equal to
  * the value returned by xkb_keymap_num_layouts_for_key()), it is brought