diff options
author | David Robillard <d@drobilla.net> | 2024-06-22 20:12:50 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-22 20:19:27 -0400 |
commit | 384b073bdad676bd3e1e39b527321e9a67bfa491 (patch) | |
tree | e56722ca117ecdab51b61b69d69c0fd5fdb158e3 /include/zix/filesystem.h | |
parent | b7e4e28dccdff26bc5e402926e61039f8e9ee966 (diff) | |
download | zix-384b073bdad676bd3e1e39b527321e9a67bfa491.tar.gz zix-384b073bdad676bd3e1e39b527321e9a67bfa491.tar.bz2 zix-384b073bdad676bd3e1e39b527321e9a67bfa491.zip |
Add ZIX_NODISCARD attribute to allocating, accessor, and pure API
Diffstat (limited to 'include/zix/filesystem.h')
-rw-r--r-- | include/zix/filesystem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zix/filesystem.h b/include/zix/filesystem.h index 34f7bcb..221e165 100644 --- a/include/zix/filesystem.h +++ b/include/zix/filesystem.h @@ -194,6 +194,7 @@ zix_dir_for_each(const char* ZIX_NONNULL path, @return True if the two files have byte-for-byte identical contents. */ ZIX_API +ZIX_NODISCARD bool zix_file_equals(ZixAllocator* ZIX_NULLABLE allocator, const char* ZIX_NONNULL a_path, |