diff --git a/base/Home.md b/base/Home.md index 4549874..a3cb0a6 100644 --- a/base/Home.md +++ b/base/Home.md @@ -89,7 +89,7 @@ Convenience typedefs for common element types: | `wapp_array_set(TYPE, ARRAY, INDEX, VALUE_PTR)` | Sets the element at `INDEX` from `VALUE_PTR` | | `wapp_array_pop(TYPE, ARRAY)` | Pops and returns the last element by value. Returns `0`/`{}` if empty. | -### Mutation (Capped — no allocation) +### Mutation (Capped - no allocation) | Macro | Description | |-------|-------------| @@ -98,7 +98,7 @@ Convenience typedefs for common element types: | `wapp_array_copy_capped(TYPE, DST, SRC)` | Copies `SRC` elements into `DST` within capacity. | | `wapp_array_clear(TYPE, ARRAY)` | Resets the element count to 0 | -### Mutation (Allocator-backed — may reallocate) +### Mutation (Allocator-backed - may reallocate) | Macro | Description | |-------|-------------| @@ -287,7 +287,7 @@ typedef const Str8 Str8RO; // read-only view printf("Value: " WAPP_STR8_SPEC "\n", wapp_str8_varg(my_str)); ``` -### Creation — Stack +### Creation - Stack | Macro | Description | |-------|-------------| @@ -296,7 +296,7 @@ printf("Value: " WAPP_STR8_SPEC "\n", wapp_str8_varg(my_str)); | `wapp_str8_lit_ro(STRING)` | Creates a read-only view of a string literal | | `wapp_str8_lit_ro_initialiser_list(STRING)` | For use in static initialisers when compound literals aren't supported | -### Creation — Allocator +### Creation - Allocator | Function | Description | |----------|-------------| diff --git a/common/Home.md b/common/Home.md index cf18578..998f744 100644 --- a/common/Home.md +++ b/common/Home.md @@ -68,33 +68,33 @@ The library auto-detects the target platform and defines the appropriate macros. ### Platform Macros **OS Family:** -- `WAPP_PLATFORM_POSIX` – Any POSIX-compliant system -- `WAPP_PLATFORM_WINDOWS` – Any Windows system (including Cygwin) -- `WAPP_PLATFORM_UNIX` – Traditional Unix systems +- `WAPP_PLATFORM_POSIX` - Any POSIX-compliant system +- `WAPP_PLATFORM_WINDOWS` - Any Windows system (including Cygwin) +- `WAPP_PLATFORM_UNIX` - Traditional Unix systems **Specific Platforms:** -- `WAPP_PLATFORM_LINUX` – Linux -- `WAPP_PLATFORM_MACOS` – macOS -- `WAPP_PLATFORM_IOS` – iOS -- `WAPP_PLATFORM_ANDROID` – Android -- `WAPP_PLATFORM_FREE_BSD` – FreeBSD -- `WAPP_PLATFORM_NET_BSD` – NetBSD -- `WAPP_PLATFORM_OPEN_BSD` – OpenBSD -- `WAPP_PLATFORM_DRAGON_FLY` – DragonFly BSD -- `WAPP_PLATFORM_GNU` – GNU/Hurd -- `WAPP_PLATFORM_CYGWIN` – Cygwin -- `WAPP_PLATFORM_WINDOWS64` – 64-bit Windows -- `WAPP_PLATFORM_WINDOWS32` – 32-bit Windows -- `WAPP_PLATFORM_APPLE` – Any Apple platform +- `WAPP_PLATFORM_LINUX` - Linux +- `WAPP_PLATFORM_MACOS` - macOS +- `WAPP_PLATFORM_IOS` - iOS +- `WAPP_PLATFORM_ANDROID` - Android +- `WAPP_PLATFORM_FREE_BSD` - FreeBSD +- `WAPP_PLATFORM_NET_BSD` - NetBSD +- `WAPP_PLATFORM_OPEN_BSD` - OpenBSD +- `WAPP_PLATFORM_DRAGON_FLY` - DragonFly BSD +- `WAPP_PLATFORM_GNU` - GNU/Hurd +- `WAPP_PLATFORM_CYGWIN` - Cygwin +- `WAPP_PLATFORM_WINDOWS64` - 64-bit Windows +- `WAPP_PLATFORM_WINDOWS32` - 32-bit Windows +- `WAPP_PLATFORM_APPLE` - Any Apple platform ### Language Version Macros **C Language:** -- `WAPP_PLATFORM_C` – Defined when compiling as C +- `WAPP_PLATFORM_C` - Defined when compiling as C - `WAPP_PLATFORM_C89`, `WAPP_PLATFORM_C99`, `WAPP_PLATFORM_C11`, `WAPP_PLATFORM_C17`, `WAPP_PLATFORM_C23` **C++ Language:** -- `WAPP_PLATFORM_CPP` – Defined when compiling as C++ +- `WAPP_PLATFORM_CPP` - Defined when compiling as C++ - `WAPP_PLATFORM_CPP98`, `WAPP_PLATFORM_CPP11`, `WAPP_PLATFORM_CPP14`, `WAPP_PLATFORM_CPP17`, `WAPP_PLATFORM_CPP20`, `WAPP_PLATFORM_CPP23` --- diff --git a/uuid/Home.md b/uuid/Home.md index 8f1b6aa..bd41319 100644 --- a/uuid/Home.md +++ b/uuid/Home.md @@ -25,15 +25,15 @@ struct WUUID { | Constant | Description | |----------|-------------| -| `UUID_BUF_LENGTH` | `48` — recommended buffer size for UUID strings | -| `WAPP_UUID_SPEC` | `WAPP_STR8_SPEC` — for printf formatting | +| `UUID_BUF_LENGTH` | `48` - recommended buffer size for UUID strings | +| `WAPP_UUID_SPEC` | `WAPP_STR8_SPEC` - for printf formatting | | `wapp_uuid_varg(wuuid)` | Expands to `wapp_str8_varg((WUUID).uuid)` for printf | ### Convenience Macro | Macro | Description | |-------|-------------| -| `wapp_uuid_gen_uuid4()` | One-shot UUID v4 generation. Creates a buffer and returns a fully initialised `WUUID` in a single expression — no variables needed. | +| `wapp_uuid_gen_uuid4()` | One-shot UUID v4 generation. Creates a buffer and returns a fully initialised `WUUID` in a single expression - no variables needed. | ### Low-Level API