projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087327d
)
Mention xkb_state_new can return NULL
author
Ran Benita
<ran234@gmail.com>
Fri, 23 Mar 2012 14:52:23 +0000
(16:52 +0200)
committer
Daniel Stone
<daniel@fooishbar.org>
Tue, 27 Mar 2012 12:58:27 +0000
(13:58 +0100)
in the header comments.
Signed-off-by: Ran Benita <ran234@gmail.com>
include/xkbcommon/xkbcommon.h
patch
|
blob
|
history
diff --git
a/include/xkbcommon/xkbcommon.h
b/include/xkbcommon/xkbcommon.h
index
cdf0d7c
..
0679235
100644
(file)
--- a/
include/xkbcommon/xkbcommon.h
+++ b/
include/xkbcommon/xkbcommon.h
@@
-318,7
+318,8
@@
xkb_map_led_get_index(struct xkb_desc *xkb, const char *name);
*/
/**
- * Allocates a new XKB state object for use with the given keymap.
+ * Returns a new XKB state object for use with the given keymap, or NULL on
+ * failure.
*/
_X_EXPORT struct xkb_state *
xkb_state_new(struct xkb_desc *xkb);