diff options
| author | Lion Kortlepel <[email protected]> | 2026-01-15 00:00:16 +0100 |
|---|---|---|
| committer | Lion Kortlepel <[email protected]> | 2026-01-15 00:00:16 +0100 |
| commit | 0392d7748e932c5de0b9593cbcbe3a2fab5c3af9 (patch) | |
| tree | 13eaf25296590a5161648e9b2bc33af18772121e | |
| parent | 9a3f974268b6a7d806154c2466229b67843e0f7e (diff) | |
| download | queue-0392d7748e932c5de0b9593cbcbe3a2fab5c3af9.tar.zst queue-0392d7748e932c5de0b9593cbcbe3a2fab5c3af9.zip | |
docs: use v2.0 types in docs
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,17 +13,17 @@ Minimal, single-header ring-buffer queue for C. 1. Copy `ls_queue.h` to your project. 2. Define any number of queue types: ```c - LS_QUEUE_TYPE_INLINE(int, int_queue, 32) + LS_QUEUE_INLINE(int, int_queue, 32) ``` **OR** for separate declaration/implementation: ```c // In header: - LS_QUEUE_TYPE_DECL(int, int_queue, 32) + LS_QUEUE_DECL(int, int_queue, 32) // In source file: - LS_QUEUE_TYPE_IMPL(int, int_queue, 32) + LS_QUEUE_IMPL(int, int_queue, 32) ``` 3. Use the queue with normal C function calls: ```c |
