Rename the suffix _get_at to the _safe_get suffix

(Better & clearer naming of the function)
This commit is contained in:
Patrick Pelissier committed 2021-10-30 00:04:07 +02:00
1 parent e650addfe4
commit 51d4e930f5
9 files changed
+52 -27

No files matched your search

+6 -1
View File
@@ -484,7 +484,7 @@
\
M_IF_METHOD(GET_SET_KEY, oplist)( \
static inline void \
M_C(name, _get_at_copy)(M_GET_VALUE_TYPE oplist *out_data, concurrent_t out, M_GET_KEY_TYPE oplist const key) \
M_C(name, _safe_get_copy)(M_GET_VALUE_TYPE oplist *out_data, concurrent_t out, M_GET_KEY_TYPE oplist const key) \
{ \
M_C0NCURRENT_CONTRACT(out); \
M_ASSERT (out_data != NULL); \
@@ -494,6 +494,11 @@
M_CALL_SET(M_GET_VALUE_OPLIST oplist, *out_data, *p); \
M_C(name, _write_unlock)(out); \
} \
static inline M_ATTR_DEPRECATED void \
M_C(name, _get_at_copy)(M_GET_VALUE_TYPE oplist *out_data, concurrent_t out, M_GET_KEY_TYPE oplist const key) \
{ \
M_C(name, _safe_get_copy)(out_data, out, key); \
} \
,) \
\
M_IF_METHOD(ERASE_KEY, oplist)( \