Skip to content

Commit 87a6128

Browse files
authored
Merge pull request #222 from CarterLi/patch-1
Fix incorrect documentation comment
2 parents 14f6f49 + c398a0d commit 87a6128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yyjson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ yyjson_api_inline const char *yyjson_get_type_desc(yyjson_val *val);
17731773
yyjson_api_inline const char *yyjson_get_raw(yyjson_val *val);
17741774

17751775
/** Returns the content if the value is bool.
1776-
Returns NULL if `val` is NULL or type is not bool. */
1776+
Returns false if `val` is NULL or type is not bool. */
17771777
yyjson_api_inline bool yyjson_get_bool(yyjson_val *val);
17781778

17791779
/** Returns the content and cast to uint64_t.

0 commit comments

Comments
 (0)