PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
HASH_REPLACE_BYHASHVALUE
#define HASH_REPLACE_BYHASHVALUE
(
hh,
head,
fieldname,
keylen_in,
hashval,
add,
replaced
)
Value:
do
{ \
(replaced) = NULL; \
HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
if (replaced) { \
HASH_DELETE(hh, head, replaced); \
} \
HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \
}
while
(0)
Definition at line
202
of file
uthash.h
.
postgis
uthash.h
Generated by
1.9.1