Files
tp/libs/SSystem/SComponent/c_list_iter.cpp
T

27 lines
763 B
C++
Raw Normal View History

/**
* c_list_iter.cpp
*
*/
2020-11-30 14:26:55 -08:00
2021-03-29 00:10:25 +02:00
#include "SSystem/SComponent/c_list_iter.h"
2023-05-12 12:10:14 -07:00
#include "SSystem/SComponent/c_list.h"
2021-03-28 22:49:05 +02:00
#include "dolphin/types.h"
2020-11-30 14:26:55 -08:00
2021-03-29 00:10:25 +02:00
/* 80266060-80266098 0038+00 s=0 e=5 z=0 None .text
* cLsIt_Method__FP15node_list_classPFP10node_classPv_iPv */
int cLsIt_Method(node_list_class* list, cNdIt_MethodFunc method, void* data) {
if (list->mSize > 0)
return cNdIt_Method(list->mpHead, method, data);
2021-03-30 02:45:32 +02:00
else
return 1;
2020-11-30 14:26:55 -08:00
}
2021-03-29 00:10:25 +02:00
/* 80266098-802660D0 0038+00 s=0 e=4 z=0 None .text
* cLsIt_Judge__FP15node_list_classPFP10node_classPv_PvPv */
void* cLsIt_Judge(node_list_class* list, cNdIt_JudgeFunc judge, void* data) {
if (list->mSize > 0)
return cNdIt_Judge(list->mpHead, judge, data);
2021-03-30 02:45:32 +02:00
else
return NULL;
2020-11-30 14:26:55 -08:00
}