summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-09-10 21:37:29 +0200
committerTyge Løvset <[email protected]>2022-09-10 21:37:29 +0200
commit7eaeb7bb2c7cad9b0a437df71a396424b0c6933e (patch)
treea3b0195e41f8451604cd907a6bd360c9c42f273d /examples
parentd6a4bdb81312d5e3b1894d261932002b57f4c830 (diff)
downloadSTC-modified-7eaeb7bb2c7cad9b0a437df71a396424b0c6933e.tar.gz
STC-modified-7eaeb7bb2c7cad9b0a437df71a396424b0c6933e.zip
Renamed template parameter i_cap => i_capacity
Diffstat (limited to 'examples')
-rw-r--r--examples/bits2.c2
-rw-r--r--examples/stack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/bits2.c b/examples/bits2.c
index 73c18351..3f3085b6 100644
--- a/examples/bits2.c
+++ b/examples/bits2.c
@@ -2,7 +2,7 @@
// Example of static sized (stack allocated) bitsets
#define i_type Bits
-#define i_cap 80 // enable fixed bitset on the stack
+#define i_capacity 80 // enable fixed bitset on the stack
#include <stc/cbits.h>
int main()
diff --git a/examples/stack.c b/examples/stack.c
index 5507c764..210f8023 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#define i_tag i
-#define i_cap 100
+#define i_capacity 100
#define i_val int
#include <stc/cstack.h>