summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/waffle/waffle_error.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/waffle/waffle_error.h b/include/waffle/waffle_error.h
index 3b76211..96e8272 100644
--- a/include/waffle/waffle_error.h
+++ b/include/waffle/waffle_error.h
@@ -66,9 +66,6 @@ struct waffle_error_info {
/// @brief Get the current thread's error code.
///
-/// This may be called when waffle is uninitialized (that is, before
-/// waffle_init() and after waffle_finish()).
-///
/// Calling this function is equivalent to obtaining the error code with
/// `waffle_error_get_info()->code`.
///
@@ -80,8 +77,8 @@ waffle_error_get_code(void);
/// This function never returns null. The returned pointer becomes invalid
/// when the thread-local error state changes.
///
-/// This may be called when waffle is uninitialized (that is, before
-/// waffle_init() and after waffle_finish()).
+/// This may be called when waffle is uninitialized [that is, before
+/// waffle_init()].
WAFFLE_API const struct waffle_error_info*
waffle_error_get_info(void);