Add some emojis
+6
-6
@@ -10,7 +10,7 @@ The `base` package provides core data structures and memory abstractions: dynami
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Allocator Interface
|
## 🗄️ Allocator Interface
|
||||||
|
|
||||||
A pluggable allocator that abstracts memory allocation strategies. See os package for the arena-backed implementation.
|
A pluggable allocator that abstracts memory allocation strategies. See os package for the arena-backed implementation.
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ struct Allocator {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Memory Utilities
|
## 🔧 Memory Utilities
|
||||||
|
|
||||||
| Function | Description |
|
| Function | Description |
|
||||||
|----------|-------------|
|
|----------|-------------|
|
||||||
@@ -47,7 +47,7 @@ struct Allocator {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Array
|
## 📋 Array
|
||||||
|
|
||||||
A type-generic dynamic array with both stack-allocated and allocator-backed variants.
|
A type-generic dynamic array with both stack-allocated and allocator-backed variants.
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ wapp_array_append_alloc(i32, &arena, &dyn, &val, ARRAY_INIT_NONE);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Doubly-Linked List
|
## 🔗 Doubly-Linked List
|
||||||
|
|
||||||
A type-generic doubly-linked list with node-level operations.
|
A type-generic doubly-linked list with node-level operations.
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ Str8 *item = wapp_dbl_list_get(Str8, &list, 0);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Queue
|
## 📨 Queue
|
||||||
|
|
||||||
A type-generic circular queue (FIFO) backed by a dynamic array.
|
A type-generic circular queue (FIFO) backed by a dynamic array.
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ i32 *result = wapp_queue_pop(i32, &queue);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Str8
|
## 📝 Str8
|
||||||
|
|
||||||
A length-tracked mutable string type.
|
A length-tracked mutable string type.
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -10,7 +10,7 @@ The `common` package provides foundational type definitions, platform detection,
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Type Aliases
|
## 🏷️ Type Aliases
|
||||||
|
|
||||||
Convenient typedefs for primitive types.
|
Convenient typedefs for primitive types.
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ END_C_LINKAGE // } (C++ only)
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Platform Detection
|
## 💻 Platform Detection
|
||||||
|
|
||||||
The library auto-detects the target platform and language version at compile time.
|
The library auto-detects the target platform and language version at compile time.
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ The library auto-detects the target platform and language version at compile tim
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Assertions
|
## 🛡️ Assertions
|
||||||
|
|
||||||
Runtime and compile-time assertion macros with configurable behaviour.
|
Runtime and compile-time assertion macros with configurable behaviour.
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ Diagnostic: config should not be NULL
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Misc Utilities
|
## 🔧 Misc Utilities
|
||||||
|
|
||||||
Helper macros for size literals, alignment, and bit operations.
|
Helper macros for size literals, alignment, and bit operations.
|
||||||
|
|
||||||
|
|||||||
+7
-7
@@ -10,7 +10,7 @@ The `os` package provides OS-level abstractions: virtual memory, arena allocator
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## OS Memory
|
## 🧠 OS Memory
|
||||||
|
|
||||||
Low-level virtual memory allocation.
|
Low-level virtual memory allocation.
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ The commit flag behaviour varies by platform:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Arena Allocator
|
## 🗄️ Arena Allocator
|
||||||
|
|
||||||
A bump allocator backed by OS virtual memory (or a user-provided buffer). Provides fast sequential allocations with temporary scope support.
|
A bump allocator backed by OS virtual memory (or a user-provided buffer). Provides fast sequential allocations with temporary scope support.
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@ wapp_mem_arena_allocator_destroy(&allocator);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## File I/O
|
## 📁 File I/O
|
||||||
|
|
||||||
Cross-platform file operations with array-level read/write support.
|
Cross-platform file operations with array-level read/write support.
|
||||||
|
|
||||||
@@ -193,7 +193,7 @@ wapp_file_remove(&filename);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Shell Commander
|
## ⌨️ Shell Commander
|
||||||
|
|
||||||
Execute shell commands and capture or discard their output.
|
Execute shell commands and capture or discard their output.
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ r = wapp_shell_commander_execute(SHELL_OUTPUT_CAPTURE, &buf, &cmd);
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Terminal Colours
|
## 🎨 Terminal Colours
|
||||||
|
|
||||||
Print coloured text to the terminal.
|
Print coloured text to the terminal.
|
||||||
|
|
||||||
@@ -264,7 +264,7 @@ Available colours: `WAPP_TERM_COLOUR_FG_BLACK`, `WAPP_TERM_COLOUR_FG_RED`, `WAPP
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## CPath
|
## 📍 CPath
|
||||||
|
|
||||||
Cross-platform path manipulation.
|
Cross-platform path manipulation.
|
||||||
|
|
||||||
@@ -310,7 +310,7 @@ Str8 *grandparent = wapp_cpath_dirup(&arena, &dir, 2); // "/home"
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Shell Utils
|
## 🔧 Shell Utils
|
||||||
|
|
||||||
Cross-platform wrappers for `popen`/`pclose`.
|
Cross-platform wrappers for `popen`/`pclose`.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ The `prng` package provides a **Xorshift256** pseudo-random number generator. It
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Xorshift256
|
## 🎲 Xorshift256
|
||||||
|
|
||||||
A fast, non-cryptographic PRNG with a 256-bit state. Three variants are available with different trade-offs between speed and statistical quality.
|
A fast, non-cryptographic PRNG with a 256-bit state. Three variants are available with different trade-offs between speed and statistical quality.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ The `testing` package provides a lightweight test runner with coloured pass/fail
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Tester
|
## 🧪 Tester
|
||||||
|
|
||||||
Each test is a function that returns a `TestFuncResult`. Tests are registered by passing their function pointers to `wapp_tester_run_tests`.
|
Each test is a function that returns a `TestFuncResult`. Tests are registered by passing their function pointers to `wapp_tester_run_tests`.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ The `uuid` package provides **UUID v4** generation as specified by RFC 4122. UUI
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## UUID v4
|
## 🆔 UUID v4
|
||||||
|
|
||||||
### Type
|
### Type
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user