From 724ce985407f2be9aaeb487f8b1a4fdf2972b57f Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 6 Aug 2020 09:17:54 +1000 Subject: [PATCH] Update some refs to the old aux directory name --- doc/changelog.md | 2 +- doc/note/auxiliary-code.md | 4 ++-- internal/cgen/data/placeholder.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/changelog.md b/doc/changelog.md index fed041ad..6cb1da8f 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -6,7 +6,7 @@ - Added `WUFFS_BASE__PIXEL_BLEND__SRC_OVER`. - Added `WUFFS_BASE__PIXEL_FORMAT__BGR_565`. - Added `WUFFS_CONFIG__MODULE__BASE__ETC` sub-modules. -- Added `aux` library. +- Added `auxiliary` code. - Added `base` library support for UTF-8. - Added `base` library support for `atoi`-like string conversion. - Added `endwhile` syntax. diff --git a/doc/note/auxiliary-code.md b/doc/note/auxiliary-code.md index 136465c2..c69593cb 100644 --- a/doc/note/auxiliary-code.md +++ b/doc/note/auxiliary-code.md @@ -30,8 +30,8 @@ programmer who uses Wuffs-the-library, but there are several trade-offs: [example/jsonptr](/example/jsonptr/jsonptr.cc) program, which works with the low-level token API, can process arbitrarily long input in `O(1)` memory. - The auxiliary code is hand-written C++. It's carefully written and there's - [not a lot of it](/internal/cgen/aux), but unlike code written in the Wuffs - language, its memory-safety is not enforced by the Wuffs toolchain. + [not a lot of it](/internal/cgen/auxiliary), but unlike code written in the + Wuffs language, its memory-safety is not enforced by the Wuffs toolchain. - For simplicity, it assumes that all I/O can be performed synchronously. This is trivially true if the input is already entirely in memory (e.g. as a `std::vector` or a `std::string`). However, the auxiliary code should not be diff --git a/internal/cgen/data/placeholder.go b/internal/cgen/data/placeholder.go index 645c5ff3..af01e1f9 100644 --- a/internal/cgen/data/placeholder.go +++ b/internal/cgen/data/placeholder.go @@ -14,7 +14,7 @@ //go:generate go run gen.go -// Package data contains the files in the sibling "../base" and "../aux" +// Package data contains the files in the sibling "../base" and "../auxiliary" // directories: the hand-written C and C++ code that is the 'runtime library' // for Wuffs-transpiled-to-C. In this Go package, those files' contents are // provided as string constants.