Rename example/library to example/toy-genlib

This commit is contained in:
Nigel Tao committed 2020-08-05 11:55:51 +10:00
1 parent 50bfab9998
commit cf8884d44c
8 files changed
+24 -24

No files matched your search

+1
View File
@@ -37,6 +37,7 @@
- Removed `ack_metadata_chunk?`.
- Removed `wuffs_base__frame_config__blend`.
- Renamed `decode_io_writer?` methods to `transform_io?`.
- Renamed `example/library` to `example/toy-genlib`.
- Renamed `swizzle_interleaved!` to `swizzle_interleaved_from_slice!`.
- Renamed warnings to notes.
+2 -2
View File
@@ -13,8 +13,8 @@ implicit `this` pointer argument):
`wuffs_foo__bar` is deliberately an incomplete type. Its size is not part of
the stable ABI. Instead, call the `sizeof__wuffs_foo__bar` *function*, whose
return value can change across Wuffs versions, even across point releases.
For an example, look for `calloc` in the
[example/library](/example/library/library.c) program.
For an example, look for `sizeof__wuffs_json__decoder` in the
[example/jsonptr](/example/jsonptr/jsonptr.cc) program.
- The Wuffs library version, `WUFFS_VERSION`.
- Additional flags.
+1 -1
View File
@@ -30,7 +30,7 @@ TODO: standardize the various dictionary APIs, after Wuffs v0.2 is released.
## Examples
- [example/library](/example/library)
- [example/toy-genlib](/example/toy-genlib)
- [example/zcat](/example/zcat)
+3 -3
View File
@@ -27,6 +27,6 @@ file depending on the presence or absence of a `WUFFS_IMPLEMENTATION` macro
definition.
Most of the example programs treat it as a `.c` file. The
[`/example/library`](/example/library) program treats it as a `.h` file, and
requires a separate step (e.g. running `wuffs genlib` beforehand) to build the
library implementation (e.g. a `libwuffs.a` or `libwuffs.so` file).
[`/example/toy-genlib`](/example/toy-genlib) program treats it as a `.h` file,
and requires a separate step (running `wuffs genlib` beforehand) to build the
library implementation (a `libwuffs.a` or `libwuffs.so` file).