summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/linkedlists/new_list.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-08-10 21:17:48 +0200
committerTyge Løvset <[email protected]>2023-08-10 21:17:48 +0200
commitbe5651c9fc3d3ecd2d9d24e6e4763260ef86de41 (patch)
treec9e9f5bc6814716b4faac75833cc1ecc1371c8c5 /misc/examples/linkedlists/new_list.c
parentc27c266b6c4ae0e5e535b18c3790ee97416412b9 (diff)
downloadSTC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.tar.gz
STC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.zip
Update template.h - also renamed i_cmp_native => i_use_cmp
Diffstat (limited to 'misc/examples/linkedlists/new_list.c')
-rw-r--r--misc/examples/linkedlists/new_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/linkedlists/new_list.c b/misc/examples/linkedlists/new_list.c
index 2112bf1f..7518929a 100644
--- a/misc/examples/linkedlists/new_list.c
+++ b/misc/examples/linkedlists/new_list.c
@@ -27,7 +27,7 @@ int point_cmp(const Point* a, const Point* b) {
#include <stc/clist.h>
#define i_key float
-#define i_cmp_native // use < and == operators for comparison
+#define i_use_cmp // use < and == operators for comparison
#include <stc/clist.h>
void MyStruct_drop(MyStruct* s);