提交 83b89775 编写于 作者: X xlei1030

修改编码规范

Signed-off-by: Nxlei1030 <xionglei6@huawei.com>
上级 441df31d
...@@ -174,7 +174,8 @@ HashNode *HashMapFind(HashMapHandle handle, ...@@ -174,7 +174,8 @@ HashNode *HashMapFind(HashMapHandle handle,
return GetHashNodeByKey(tab, tab->buckets[hashCode], key, keyCompare); return GetHashNodeByKey(tab, tab->buckets[hashCode], key, keyCompare);
} }
void HashMapTraverse(HashMapHandle handle, void (*hashNodeTraverse)(const HashNode *node, const void *context), const void *context) void HashMapTraverse(HashMapHandle handle, void (*hashNodeTraverse)(const HashNode *node, const void *context),
const void *context)
{ {
INIT_ERROR_CHECK(handle != NULL && hashNodeTraverse != NULL, return, "Invalid param"); INIT_ERROR_CHECK(handle != NULL && hashNodeTraverse != NULL, return, "Invalid param");
HashTab *tab = (HashTab *)handle; HashTab *tab = (HashTab *)handle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册