mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-17 13:00:01 -04:00
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Generated by dtk
|
||||
// Translation Unit: c_tree_iter.cpp
|
||||
//
|
||||
|
||||
#include "SSystem/SComponent/c_tree_iter.h"
|
||||
#include "SSystem/SComponent/c_list.h"
|
||||
#include "SSystem/SComponent/c_list_iter.h"
|
||||
#include "SSystem/SComponent/c_tree.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
/* 802450D0-80245144 .text cTrIt_Method__FP21node_lists_tree_classPFP10node_classPv_iPv */
|
||||
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) {
|
||||
int sub = cLsIt_Method(pList++, pMethod, pUserData);
|
||||
if (sub == 0)
|
||||
ret = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* 80245144-802451B4 .text cTrIt_Judge__FP21node_lists_tree_classPFP10node_classPv_PvPv */
|
||||
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);
|
||||
if (pJudgeRet != NULL)
|
||||
return pJudgeRet;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user