summaryrefslogtreecommitdiffhomepage
path: root/examples/stack.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-06 23:32:30 +0200
committerTyge Løvset <[email protected]>2020-09-06 23:32:30 +0200
commit5b78847871217562dcddbb0bd34076a892eb49e1 (patch)
tree66204cf3a2c0a8d847f8e423856249d11fa8946d /examples/stack.c
parentc42c18bb94606b45454da937690f872b5ebd59d1 (diff)
downloadSTC-modified-5b78847871217562dcddbb0bd34076a892eb49e1.tar.gz
STC-modified-5b78847871217562dcddbb0bd34076a892eb49e1.zip
Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.
Diffstat (limited to 'examples/stack.c')
-rw-r--r--examples/stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stack.c b/examples/stack.c
index de30c5b4..dedf1eb5 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -4,8 +4,9 @@
#include <stc/cstack.h>
declare_cvec(i, int);
+declare_cvec(c, char);
declare_cstack(i, cvec_i);
-declare_cstack(c, cstr);
+declare_cstack(c, cvec_c);
int main() {
cstack_i stack = cstack_i_init();