summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-06-09 13:22:19 +0200
committerTyge Løvset <[email protected]>2021-06-09 13:22:19 +0200
commit9c42498b639976449cbeaaee33ed89df8971b6fd (patch)
treec50ef6ef2c8b3bfa53680aeecc936c5d8bfc423b /include
parent5f16859df941c790e61c00a99fc62985601ca16b (diff)
downloadSTC-modified-9c42498b639976449cbeaaee33ed89df8971b6fd.tar.gz
STC-modified-9c42498b639976449cbeaaee33ed89df8971b6fd.zip
Revert to csptr_X_reset_with() to keep API, also better name.
Diffstat (limited to 'include')
-rw-r--r--include/stc/csptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csptr.h b/include/stc/csptr.h
index 4637963e..70bd87f0 100644
--- a/include/stc/csptr.h
+++ b/include/stc/csptr.h
@@ -139,7 +139,7 @@ typedef long atomic_count_t;
} \
\
STC_INLINE CX##_value_t* \
- CX##_reset_from(CX* self, CX##_value_t* p) { \
+ CX##_reset_with(CX* self, CX##_value_t* p) { \
CX##_del(self); \
*self = CX##_from(p); \
return self->get; \