diff --git a/include/util/thash.h b/include/util/thash.h index 5dec175a38..c6275d276c 100644 --- a/include/util/thash.h +++ b/include/util/thash.h @@ -180,6 +180,13 @@ void taosHashCancelIterate(SHashObj *pHashObj, void *p); */ void *taosHashGetKey(void *data, size_t *keyLen); +/** + * Get the corresponding value length for a given data in hash table + * @param data + * @return + */ +int32_t taosHashGetValueSize(void *data); + /** * return the payload data with the specified key(reference number added) * @@ -215,13 +222,6 @@ void taosHashSetFreeFp(SHashObj *pHashObj, _hash_free_fn_t fp); int64_t taosHashGetCompTimes(SHashObj *pHashObj); -/** - * Get the corresponding value length for a given data in hash table - * @param data - * @return - */ -int32_t taosHashGetValueSize(void *data); - #ifdef __cplusplus } #endif