mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-02 01:30:00 -04:00
c9e2a73dda
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
23 lines
523 B
C++
23 lines
523 B
C++
/**
|
|
* c_list_iter.cpp
|
|
*
|
|
*/
|
|
|
|
#include "SSystem/SComponent/c_list_iter.h"
|
|
#include "SSystem/SComponent/c_list.h"
|
|
#include <dolphin/types.h>
|
|
|
|
int cLsIt_Method(node_list_class* list, cNdIt_MethodFunc method, void* data) {
|
|
if (list->mSize > 0)
|
|
return cNdIt_Method(list->mpHead, method, data);
|
|
else
|
|
return 1;
|
|
}
|
|
|
|
void* cLsIt_Judge(node_list_class* list, cNdIt_JudgeFunc judge, void* data) {
|
|
if (list->mSize > 0)
|
|
return cNdIt_Judge(list->mpHead, judge, data);
|
|
else
|
|
return NULL;
|
|
}
|