aux: add QuirkKeyValuePair type

This commit is contained in:
Nigel Tao committed 2024-08-05 00:12:15 +10:00
1 parent 3215f6afac
commit ffb64df0a0
12 files changed
+111 -120

No files matched your search

+3
View File
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <string>
#include <utility>
namespace wuffs_aux {
@@ -28,6 +29,8 @@ using IOBuffer = wuffs_base__io_buffer;
// nullptr, since calling free(nullptr) is a no-op.
using MemOwner = std::unique_ptr<void, decltype(&free)>;
using QuirkKeyValuePair = std::pair<uint32_t, uint64_t>;
namespace sync_io {
// --------