diff options
| author | Tyge Løvset <[email protected]> | 2021-12-30 16:14:57 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-12-30 16:14:57 +0100 |
| commit | a2ba1b88606659704625aa73397f80df2a0a038b (patch) | |
| tree | 3c11591dabc6b3ff34f3a06176da38e067ce5562 /examples | |
| parent | eb0d095d7cdf5c5018d37be4319c99e2fdbfa9c5 (diff) | |
| download | STC-modified-a2ba1b88606659704625aa73397f80df2a0a038b.tar.gz STC-modified-a2ba1b88606659704625aa73397f80df2a0a038b.zip | |
Renamed c_default_clone to c_default_from (mostly used internally).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/complex.c | 2 | ||||
| -rw-r--r-- | examples/queue.c | 2 | ||||
| -rw-r--r-- | examples/sview_split.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/complex.c b/examples/complex.c index 17a10fad..747cec07 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -5,7 +5,7 @@ void check_drop(float* v) {printf("destroy %g\n", *v);} #define i_type FloatStack
#define i_val float
#define i_drop check_drop
-#define i_from c_default_clone
+#define i_from c_default_from
#include <stc/cstack.h>
#define i_type StackList
diff --git a/examples/queue.c b/examples/queue.c index ffd0a1e7..2ea82080 100644 --- a/examples/queue.c +++ b/examples/queue.c @@ -3,7 +3,7 @@ #define i_val int
#define i_drop(x) printf("drop %d\n", *(x))
-#define i_from c_default_clone
+#define i_from c_default_from
#define i_tag i
#include <stc/cqueue.h>
diff --git a/examples/sview_split.c b/examples/sview_split.c index bd5c26d5..8e8443b8 100644 --- a/examples/sview_split.c +++ b/examples/sview_split.c @@ -1,5 +1,5 @@ #include <stc/csview.h>
-#define c_arg(a) a
+
int main()
{
// No memory allocations or string length calculations!
|
