diff options
| author | Tyge Løvset <[email protected]> | 2023-08-10 21:17:48 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-08-10 21:17:48 +0200 |
| commit | be5651c9fc3d3ecd2d9d24e6e4763260ef86de41 (patch) | |
| tree | c9e9f5bc6814716b4faac75833cc1ecc1371c8c5 /misc/examples/sortedmaps | |
| parent | c27c266b6c4ae0e5e535b18c3790ee97416412b9 (diff) | |
| download | STC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.tar.gz STC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.zip | |
Update template.h - also renamed i_cmp_native => i_use_cmp
Diffstat (limited to 'misc/examples/sortedmaps')
| -rw-r--r-- | misc/examples/sortedmaps/csmap_insert.c | 1 | ||||
| -rw-r--r-- | misc/examples/sortedmaps/multimap.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/sortedmaps/csmap_insert.c b/misc/examples/sortedmaps/csmap_insert.c index c9f02891..04b8ddc6 100644 --- a/misc/examples/sortedmaps/csmap_insert.c +++ b/misc/examples/sortedmaps/csmap_insert.c @@ -13,7 +13,6 @@ #include <stc/csmap.h> #define i_key csmap_ii_raw -#define i_opt c_no_cmp #define i_tag ii #include <stc/cvec.h> diff --git a/misc/examples/sortedmaps/multimap.c b/misc/examples/sortedmaps/multimap.c index 1068a5dc..a4490f91 100644 --- a/misc/examples/sortedmaps/multimap.c +++ b/misc/examples/sortedmaps/multimap.c @@ -41,6 +41,7 @@ void OlympicLoc_drop(OlympicLoc* self); // Create a clist<OlympicLoc>, can be sorted by year. #define i_keyclass OlympicLoc // binds _cmp, _clone and _drop. +#define i_use_cmp #define i_tag OL #include <stc/clist.h> |
