mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
Add names to "typedef struct { ... } foo" types
This commit is contained in:
1 parent
aa46859ea4
commit
4f1d24c070
9 files changed
+131
-130
No files matched your search
@@ -20,7 +20,7 @@
|
||||
|
||||
// wuffs_base__io_buffer_meta is the metadata for a wuffs_base__io_buffer's
|
||||
// data.
|
||||
typedef struct {
|
||||
typedef struct wuffs_base__io_buffer_meta__struct {
|
||||
size_t wi; // Write index. Invariant: wi <= len.
|
||||
size_t ri; // Read index. Invariant: ri <= wi.
|
||||
uint64_t pos; // Buffer position (relative to the start of stream).
|
||||
@@ -31,7 +31,7 @@ typedef struct {
|
||||
// additional metadata.
|
||||
//
|
||||
// A value with all fields zero is a valid, empty buffer.
|
||||
typedef struct {
|
||||
typedef struct wuffs_base__io_buffer__struct {
|
||||
wuffs_base__slice_u8 data;
|
||||
wuffs_base__io_buffer_meta meta;
|
||||
|
||||
|
||||
Reference in new issue
Block a user