mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Add comment about comparing status strings
This commit is contained in:
1 parent
c499f03bc7
commit
44e99d79cf
3 files changed
+5
-3
No files matched your search
@@ -128,7 +128,8 @@ typedef struct {
|
||||
// is not localized, and does not contain additional contextual information
|
||||
// such as a source filename.
|
||||
//
|
||||
// Status strings are statically allocated and should never be free'd.
|
||||
// Status strings are statically allocated and should never be free'd. They can
|
||||
// be compared by the == operator and not just by strcmp.
|
||||
typedef const char* wuffs_base__status;
|
||||
|
||||
extern const char* wuffs_base__error__bad_wuffs_version;
|
||||
|
||||
Reference in new issue
Block a user