diff options
| author | tylov <[email protected]> | 2023-08-10 22:32:02 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-08-10 22:32:02 +0200 |
| commit | 2ea55509f1d3c7b438340ad37cf725e8438c7673 (patch) | |
| tree | 539975c90da5fe20395adb4fe7627b787040daa5 /misc/examples/mixed | |
| parent | 97898812b4c0185db74fc5c94c7556ecef3fb1e3 (diff) | |
| parent | be5651c9fc3d3ecd2d9d24e6e4763260ef86de41 (diff) | |
| download | STC-modified-2ea55509f1d3c7b438340ad37cf725e8438c7673.tar.gz STC-modified-2ea55509f1d3c7b438340ad37cf725e8438c7673.zip | |
Merge branch 'master' of https://github.com/stclib/STC
Diffstat (limited to 'misc/examples/mixed')
| -rw-r--r-- | misc/examples/mixed/astar.c | 1 | ||||
| -rw-r--r-- | misc/examples/mixed/complex.c | 1 | ||||
| -rw-r--r-- | misc/examples/mixed/demos.c | 3 |
3 files changed, 2 insertions, 3 deletions
diff --git a/misc/examples/mixed/astar.c b/misc/examples/mixed/astar.c index 590b7952..d15a9ed7 100644 --- a/misc/examples/mixed/astar.c +++ b/misc/examples/mixed/astar.c @@ -61,7 +61,6 @@ point_key_cmp(const point* a, const point* b) #include <stc/cpque.h> #define i_key point -#define i_opt c_no_cmp #include <stc/cdeq.h> #define i_key point diff --git a/misc/examples/mixed/complex.c b/misc/examples/mixed/complex.c index 4eb1574b..9fcbc417 100644 --- a/misc/examples/mixed/complex.c +++ b/misc/examples/mixed/complex.c @@ -14,7 +14,6 @@ #define i_type StackList #define i_keyclass FloatStack // "class" picks up _clone, _drop, _cmp -#define i_opt c_no_cmp // exclude FloatStack_cmp(): not defined #include <stc/clist.h> #define i_type ListMap diff --git a/misc/examples/mixed/demos.c b/misc/examples/mixed/demos.c index 7f5091fd..43c9a7ae 100644 --- a/misc/examples/mixed/demos.c +++ b/misc/examples/mixed/demos.c @@ -53,6 +53,7 @@ void vectordemo1(void) } #define i_key_str +#define i_use_cmp #include <stc/cvec.h> void vectordemo2(void) @@ -74,7 +75,7 @@ void vectordemo2(void) #define i_key int #define i_tag ix -#define i_cmp_native +#define i_use_cmp #include <stc/clist.h> void listdemo1(void) |
