summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/new_deq.c4
-rw-r--r--examples/new_list.c4
-rw-r--r--examples/new_map.c2
-rw-r--r--examples/new_pque.c2
-rw-r--r--examples/new_queue.c2
-rw-r--r--examples/new_smap.c2
-rw-r--r--examples/new_sptr.c2
-rw-r--r--examples/new_vec.c4
-rw-r--r--examples/sptr_ex.c2
9 files changed, 12 insertions, 12 deletions
diff --git a/examples/new_deq.c b/examples/new_deq.c
index d1a5c2a6..93853ce3 100644
--- a/examples/new_deq.c
+++ b/examples/new_deq.c
@@ -1,8 +1,8 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_cdeq(i32, int);
-forward_cdeq(pnt, struct Point);
+forward_cdeq(cdeq_i32, int);
+forward_cdeq(cdeq_pnt, struct Point);
struct MyStruct {
cdeq_i32 intvec;
diff --git a/examples/new_list.c b/examples/new_list.c
index a38936b0..66c97c3b 100644
--- a/examples/new_list.c
+++ b/examples/new_list.c
@@ -1,8 +1,8 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_clist(i32, int);
-forward_clist(pnt, struct Point);
+forward_clist(clist_i32, int);
+forward_clist(clist_pnt, struct Point);
struct MyStruct {
clist_i32 intlst;
diff --git a/examples/new_map.c b/examples/new_map.c
index 2c4ee3bb..f09fe801 100644
--- a/examples/new_map.c
+++ b/examples/new_map.c
@@ -1,7 +1,7 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_cmap(pnt, struct Point, int);
+forward_cmap(cmap_pnt, struct Point, int);
struct MyStruct {
cmap_pnt pntmap;
diff --git a/examples/new_pque.c b/examples/new_pque.c
index 1fb90123..7047a622 100644
--- a/examples/new_pque.c
+++ b/examples/new_pque.c
@@ -1,6 +1,6 @@
#include <stc/forward.h>
-forward_cpque(pnt, struct Point);
+forward_cpque(cpque_pnt, struct Point);
struct MyStruct {
cpque_pnt priority_queue;
diff --git a/examples/new_queue.c b/examples/new_queue.c
index a7fdb723..6e62abe6 100644
--- a/examples/new_queue.c
+++ b/examples/new_queue.c
@@ -2,7 +2,7 @@
#include <stc/forward.h>
#include <stdio.h>
-forward_cqueue(pnt, struct Point);
+forward_cqueue(cqueue_pnt, struct Point);
struct Point { int x, y; } typedef Point;
int point_compare(const Point* a, const Point* b) {
diff --git a/examples/new_smap.c b/examples/new_smap.c
index c05d90b9..bbaa3dd1 100644
--- a/examples/new_smap.c
+++ b/examples/new_smap.c
@@ -1,7 +1,7 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_csmap(pnt, struct Point, int);
+forward_csmap(csmap_pnt, struct Point, int);
struct MyStruct {
csmap_pnt pntmap;
diff --git a/examples/new_sptr.c b/examples/new_sptr.c
index aad6192a..678ac85e 100644
--- a/examples/new_sptr.c
+++ b/examples/new_sptr.c
@@ -1,7 +1,7 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_csptr(person, struct Person);
+forward_csptr(csptr_person, struct Person);
struct Person { cstr name, last; } typedef Person;
diff --git a/examples/new_vec.c b/examples/new_vec.c
index ae1fd155..fb4181bd 100644
--- a/examples/new_vec.c
+++ b/examples/new_vec.c
@@ -1,8 +1,8 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_cvec(i32, int);
-forward_cvec(pnt, struct Point);
+forward_cvec(cvec_i32, int);
+forward_cvec(cvec_pnt, struct Point);
struct MyStruct {
cvec_i32 intvec;
diff --git a/examples/sptr_ex.c b/examples/sptr_ex.c
index 184acd05..cd84c668 100644
--- a/examples/sptr_ex.c
+++ b/examples/sptr_ex.c
@@ -5,7 +5,7 @@
#include <stc/cstr.h>
#include <stc/forward.h>
-forward_csptr(song, struct Song);
+forward_csptr(csptr_song, struct Song);
struct Test {
csptr_song song1;
csptr_song song2;