aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLion Kortlepel <[email protected]>2026-01-15 00:00:16 +0100
committerLion Kortlepel <[email protected]>2026-01-15 00:00:16 +0100
commit0392d7748e932c5de0b9593cbcbe3a2fab5c3af9 (patch)
tree13eaf25296590a5161648e9b2bc33af18772121e /README.md
parent9a3f974268b6a7d806154c2466229b67843e0f7e (diff)
downloadqueue-0392d7748e932c5de0b9593cbcbe3a2fab5c3af9.tar.zst
queue-0392d7748e932c5de0b9593cbcbe3a2fab5c3af9.zip
docs: use v2.0 types in docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index ceb9fd6..54c35c3 100644
--- a/README.md
+++ b/README.md
@@ -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