GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
ListItr Struct Reference

An iterator into a list. More...

#include <list.h>

Data Fields

Listlist
 A pointer to the List this is iterating through.
 
ListNodenext_node
 The next node in the list.
 
ListNodecurrent_node
 The current node in the list iterator.
 
enum ListItrDirection direction
 The direction of the iterator.
 

Detailed Description

An iterator into a list.

Definition at line 90 of file list.h.

Field Documentation

◆ current_node

ListNode* current_node

The current node in the list iterator.

The node of the most recently returned data from list_itr_next() .

Definition at line 107 of file list.h.

◆ direction

enum ListItrDirection direction

The direction of the iterator.

Definition at line 112 of file list.h.

◆ list

List* list

A pointer to the List this is iterating through.

Definition at line 95 of file list.h.

◆ next_node

ListNode* next_node

The next node in the list.

Definition at line 100 of file list.h.


The documentation for this struct was generated from the following file: