solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
Loading...
Searching...
No Matches
Public Attributes | List of all members
slist_node Struct Reference

#include <slist.h>

Collaboration diagram for slist_node:
[legend]

Public Attributes

voiddata
 
struct slist_nodenext
 

Detailed Description

A node in a singly-linked list. Each node contains a pointer to element data and a pointer to the next node.

Definition at line 20 of file slist.h.

Member Data Documentation

◆ data

void* slist_node::data

Pointer to element data stored inline in the node.

Definition at line 22 of file slist.h.

Referenced by slist_get(), slist_index_of(), and slist_node_new().

◆ next

struct slist_node* slist_node::next

Pointer to the next node in the list. NULL if this is the tail.

Definition at line 24 of file slist.h.

Referenced by slist_clear(), slist_get(), slist_index_of(), slist_insert(), slist_node_new(), slist_pop_front(), slist_push_back(), slist_push_front(), and slist_remove().


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