Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
s_btree_node Struct Reference

Binary tree node structure. More...

#include <libft.h>

Collaboration diagram for s_btree_node:

Data Fields

struct s_btree_nodeparent
 Pointer to the parent node (borrowed, may be NULL).
 
struct s_btree_nodeleft
 Pointer to the left child (borrowed, may be NULL).
 
struct s_btree_noderight
 Pointer to the right child (borrowed, may be NULL).
 
void * data
 Pointer to node payload (owned by the node, may be NULL).
 

Detailed Description

Binary tree node structure.

Field Documentation

◆ data

void* s_btree_node::data

Pointer to node payload (owned by the node, may be NULL).

◆ left

struct s_btree_node* s_btree_node::left

Pointer to the left child (borrowed, may be NULL).

◆ parent

struct s_btree_node* s_btree_node::parent

Pointer to the parent node (borrowed, may be NULL).

◆ right

struct s_btree_node* s_btree_node::right

Pointer to the right child (borrowed, may be NULL).


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