From aae62e407b2f4c08a8ab2b4cc16882a796dd7990 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 4 Mar 2021 23:42:34 +1100 Subject: [PATCH] Fix doc/std/README.md wuffs_base__status typo --- doc/std/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/std/README.md b/doc/std/README.md index d6e52e2e..52b02df1 100644 --- a/doc/std/README.md +++ b/doc/std/README.md @@ -18,13 +18,13 @@ would have a `transform_io` method. In C, this would be invoked as wuffs_foo__decoder* dec = etc; // Do the work. Error checking is not shown, for brevity. -const char* status = wuffs_foo__decoder__transform_io(dec, etc); +wuffs_base__status status = wuffs_foo__decoder__transform_io(dec, etc); ``` When that C library is used as C++, that last line can be shortened: ``` -const char* status = dec->transform_io(etc); +wuffs_base__status status = dec->transform_io(etc); ``` See also the [glossary](/doc/glossary.md), as well as the notes on: