bglibs: gstack Struct Reference

bglibs

Data Fields
gstack Struct Reference
adt gstack: Generic simple stack.

`#include <gstack.h>`

## Data Fields
struct gstack_node * | head
unsigned | count

## Detailed Description

Generic stack structure.

Examples:
  adt/gstack_test.c.

## Field Documentation

## ◆ count

unsigned gstack::count

The number of items in the stack.

Referenced by gstack_pop(), and gstack_push().

## ◆ head

struct gstack_node* gstack::head

Pointer to the first item in the stack.

Referenced by gstack_pop(), gstack_push(), and gstack_top().

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

- gstack.h