mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Re-do how limits work.
This commit is contained in:
1 parent
a382101a9c
commit
8ff453c752
16 files changed
+389
-122
No files matched your search
@@ -78,7 +78,9 @@ typedef struct puffs_base__limit1 {
|
||||
|
||||
typedef struct {
|
||||
puffs_base__buf1* buf;
|
||||
puffs_base__limit1 limit;
|
||||
puffs_base__limit1 limit; // TODO: delete.
|
||||
uint64_t limitt; // TODO: should this be uint8_t*, not (uint64_t + bool)?
|
||||
bool use_limitt;
|
||||
// Do not access the private_impl's fields directly. There is no API/ABI
|
||||
// compatibility or safety guarantee if you do so.
|
||||
struct {
|
||||
@@ -88,7 +90,9 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
puffs_base__buf1* buf;
|
||||
puffs_base__limit1 limit;
|
||||
puffs_base__limit1 limit; // TODO: delete.
|
||||
uint64_t limitt; // TODO: should this be uint8_t*, not (uint64_t + bool)?
|
||||
bool use_limitt;
|
||||
// Do not access the private_impl's fields directly. There is no API/ABI
|
||||
// compatibility or safety guarantee if you do so.
|
||||
struct {
|
||||
|
||||
Reference in new issue
Block a user