From 5b1fc3913751feda2e0f2482bce59e87047c72cb Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 28 Jan 2024 02:28:23 +0200 Subject: [PATCH] typo --- src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index db777496..4fb549ce 100644 --- a/src/README.md +++ b/src/README.md @@ -171,7 +171,7 @@ TFREE(buf); // free buf TSALLOC(i32, stack, 10); // allocate an i32 stack with initially reserved 10 items (initial reserve must be positive!) TSADD(stack, 15); // add a single item -TSADD(stack, (i32*){1,2,3}, 3); // add many items +TSADDA(stack, (i32*){1,2,3}, 3); // add many items usz sz = TSSIZE(stack); // get the current height of the stack i32 item = stack[1]; // get the 2nd item TSFREE(stack); // free the stack