summaryrefslogtreecommitdiff
path: root/libs/SSystem/SComponent/c_list_iter.cpp
blob: 4e81bbc0ae2b9f7515696eb7c5c19341189b1d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Generated By: dol2asm
// Translation Unit: c_list_iter
//

#include "SSystem/SComponent/c_list_iter.h"
#include "dol2asm.h"
#include "dolphin/types.h"

/* 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* pList, cNdIt_MethodFunc pMethod, void* pUserData) {
    if (pList->mSize > 0)
        return cNdIt_Method(pList->mpHead, pMethod, pUserData);
    else
        return 1;
}

/* 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* pList, cNdIt_JudgeFunc pJudge, void* pUserData) {
    if (pList->mSize > 0)
        return cNdIt_Judge(pList->mpHead, pJudge, pUserData);
    else
        return NULL;
}