summaryrefslogtreecommitdiffhomepage
path: root/examples/sptr_pthread.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-11-24 22:56:09 +0100
committerTyge Løvset <[email protected]>2021-11-24 22:56:09 +0100
commit9da78656f7b4a756dad2bf1c285a61a5186fd5ae (patch)
treed40af7ad57aa5d2468f45028937d0b7aaefd2080 /examples/sptr_pthread.c
parentb24cf706b9bbaff0eb97d9663e43a1e5e065ab83 (diff)
downloadSTC-modified-9da78656f7b4a756dad2bf1c285a61a5186fd5ae.tar.gz
STC-modified-9da78656f7b4a756dad2bf1c285a61a5186fd5ae.zip
Deprecated c_no_compare(). Define i_cmp_none instead when you have/want no element comparison for cvec, cdeq, clist, csptr. Will give compile time error if functions depending on comparisons are used.
Diffstat (limited to 'examples/sptr_pthread.c')
-rw-r--r--examples/sptr_pthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/sptr_pthread.c b/examples/sptr_pthread.c
index 444d0afe..63b9a7a4 100644
--- a/examples/sptr_pthread.c
+++ b/examples/sptr_pthread.c
@@ -14,7 +14,6 @@ struct Base
void Base_del(Base* b) { printf("Base::~Base()\n"); }
#define i_val Base
-#define i_cmp c_no_compare
#define i_del Base_del
#define i_tag base
#include <stc/csptr.h>