mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
run clang-format
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "SComponent/c_list_iter.h"
|
||||
#include "SComponent/c_tree_iter.h"
|
||||
#include "SComponent/c_list_iter.h"
|
||||
#include "global.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
int cTrIt_Method(node_lists_tree_class *pTree, cNdIt_MethodFunc pMethod, void *pUserData)
|
||||
{
|
||||
node_list_class *pList = pTree->mpLists;
|
||||
int cTrIt_Method(node_lists_tree_class* pTree, cNdIt_MethodFunc pMethod, void* pUserData) {
|
||||
node_list_class* pList = pTree->mpLists;
|
||||
int i = pTree->mNumLists;
|
||||
int ret = 1;
|
||||
while (i-- > 0) {
|
||||
@@ -18,16 +17,14 @@ int cTrIt_Method(node_lists_tree_class *pTree, cNdIt_MethodFunc pMethod, void *p
|
||||
return ret;
|
||||
}
|
||||
|
||||
void * cTrIt_Judge(node_lists_tree_class *pTree, cNdIt_JudgeFunc pJudge, void *pUserData)
|
||||
{
|
||||
node_list_class *pList = pTree->mpLists;
|
||||
void* cTrIt_Judge(node_lists_tree_class* pTree, cNdIt_JudgeFunc pJudge, void* pUserData) {
|
||||
node_list_class* pList = pTree->mpLists;
|
||||
int i = pTree->mNumLists;
|
||||
while (i-- > 0) {
|
||||
void *pJudgeRet = cLsIt_Judge(pList++, pJudge, pUserData);
|
||||
void* pJudgeRet = cLsIt_Judge(pList++, pJudge, pUserData);
|
||||
if (pJudgeRet != NULL)
|
||||
return pJudgeRet;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user