Make struct impls private (opaque pointers)

This gives us flexibility to change sizeof(wuffs_foo__bar__struct)
across Wuffs versions, while retaining ABI / API compatibility.

In particular, this lets us add and remove fields.
This commit is contained in:
Nigel Tao committed 2018-10-06 10:33:47 +10:00
1 parent 26a448450e
commit 8b1ffec576
4 files changed
+86 -8

No files matched your search

+1
View File
@@ -47,6 +47,7 @@
- Added `WUFFS_CONFIG__STATIC_FUNCTIONS`.
- Added some C++ convenience methods.
- Added some Go and Rust benchmarks.
- Made struct implementations private (opaque pointers).
- Sped up the `mimic_deflate_xxx` benchmarks.