mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
run clang-format
This commit is contained in:
@@ -1,23 +1,20 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "SComponent/c_list_iter.h"
|
||||
#include "global.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
int cLsIt_Method(node_list_class *pList, cNdIt_MethodFunc pMethod, void *pUserData)
|
||||
{
|
||||
int cLsIt_Method(node_list_class* pList, cNdIt_MethodFunc pMethod, void* pUserData) {
|
||||
if (pList->mSize > 0)
|
||||
return cNdIt_Method(pList->mpHead, pMethod, pUserData);
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
void * cLsIt_Judge(node_list_class *pList, cNdIt_JudgeFunc pJudge, void *pUserData)
|
||||
{
|
||||
void* cLsIt_Judge(node_list_class* pList, cNdIt_JudgeFunc pJudge, void* pUserData) {
|
||||
if (pList->mSize > 0)
|
||||
return cNdIt_Judge(pList->mpHead, pJudge, pUserData);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user