summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2015-04-05 13:45:23 +0200
committerUli Schlachter <psychon@znc.in>2015-04-05 13:45:23 +0200
commit88cebd842ef076da6db0645df34321a19488a3ab (patch)
tree74510009a487d65fbb20edf274cc7a3ff2477b3f
parent58b38aff25c152dd7e1812305d768309b1c5d803 (diff)
API docs: Clarify when NULL is returned
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r--src/xcb_errors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xcb_errors.h b/src/xcb_errors.h
index aa1caf5..1c8b66a 100644
--- a/src/xcb_errors.h
+++ b/src/xcb_errors.h
@@ -80,7 +80,7 @@ const char *xcb_errors_get_name_for_major_code(xcb_errors_context_t *ctx,
* @param major_code The major code under which to look up the minor code
* @param major_code The minor code
* @return A string allocated in static storage that contains a name for this
- * major code or NULL.
+ * major code or NULL for unknown codes.
*/
const char *xcb_errors_get_name_for_minor_code(xcb_errors_context_t *ctx,
uint8_t major_code,
@@ -110,7 +110,7 @@ const char *xcb_errors_get_name_for_event(xcb_errors_context_t *ctx,
* @param major_code The extension's major code
* @param event_type The type of the event in that extension.
* @return A string allocated in static storage that contains a name for this
- * event or NULL.
+ * event or NULL for unknown event types.
*/
const char *xcb_errors_get_name_for_xge_event(xcb_errors_context_t *ctx,
uint8_t major_code, uint16_t event_type);