From e5e0995defc44055e21f962c515899e81c16b1d2 Mon Sep 17 00:00:00 2001 From: Alexis Glass Date: Sun, 26 Nov 2023 02:39:20 +0100 Subject: [PATCH] More documentation updates --- docs/generated-code-usage.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/generated-code-usage.md b/docs/generated-code-usage.md index 8aac8fd..ec72ea7 100644 --- a/docs/generated-code-usage.md +++ b/docs/generated-code-usage.md @@ -188,17 +188,18 @@ Notable differences when comparing to the Java/ObjC support: The following code will be generated for each defined type: -| Type | C++ header | C++ source | WASM header/sources | TS definitions | -|------------|--------------------------|----------------------------|-------------------------------------|----------------------| -| Enum/Flags | my\_enum.hpp | | my_enum.hpp, my_enum.cpp | module.ts :three: | -| | my\_enum+json.hpp :two: | | | | -| Record | my\_record.hpp | my\_record.cpp | my_record.hpp, my_enum.cpp | | -| | my\_record+json.hpp :two:| | | | -| Interface | my\_interface.hpp | my\_interface.cpp :one: | my_interface.hpp, my_interface.cpp | | +| Type | C++ header | C++ source | WASM header/sources | TS definitions | +|------------|--------------------------|----------------------------|-------------------------------------|---------------------------| +| Enum/Flags | my\_enum.hpp | | my_enum.hpp, my_enum.cpp | module.ts :three: | +| | my\_enum+json.hpp :two: | | | DjinniModule.ts/js :four: | +| Record | my\_record.hpp | my\_record.cpp | my_record.hpp, my_enum.cpp | | +| | my\_record+json.hpp :two:| | | | +| Interface | my\_interface.hpp | my\_interface.cpp :one: | my_interface.hpp, my_interface.cpp | | - :one: Generated only for types that contain constants. - :two: Generated only if cpp json serialization is enabled. - :three: Name of file configurable via command-line options. +- :four: Generated if `ts-support-files-out` is specified at command line. ## C++ JSON Serialization support