mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 07:11:06 -04:00
80ba3d9fd2
* checkpoint * checkpoint * rename f_pc * checkpoint * small symbol rename and fix some fpc symbols * remove unneeded entries from ldscript * simplify ok check, update docker container Co-authored-by: Pheenoh <pheenoh@gmail.com>
18 lines
469 B
C++
18 lines
469 B
C++
|
|
#include "SComponent/c_list_iter.h"
|
|
#include "global.h"
|
|
|
|
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) {
|
|
if (pList->mSize > 0)
|
|
return cNdIt_Judge(pList->mpHead, pJudge, pUserData);
|
|
else
|
|
return NULL;
|
|
}
|