Skip to content

Commit 85cfc9e

Browse files
committed
Properly document geterr() return type
1 parent 2bd8975 commit 85cfc9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bindings/c/inapi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@
2626

2727
/**
2828
* @brief Retrieve the last error message generated and reset the
29-
* error global to null. It will return null if no error message was
30-
* recorded.
29+
* error global to null.
30+
* @return The last error message string, or null if no error message
31+
* was recorded.
3132
*/
3233
extern char *geterr();
3334

0 commit comments

Comments
 (0)