PLplot  5.15.0
istack.c File Reference
#include <stdlib.h>
#include <string.h>
#include "istack.h"

Go to the source code of this file.

Macros

#define STACK_NSTART   50
 
#define STACK_NINC   50
 

Functions

static void istack_init (istack *s)
 
istackistack_create ()
 
void istack_reset (istack *s)
 
int istack_contains (istack *s, int v)
 
void istack_push (istack *s, int v)
 
int istack_pop (istack *s)
 
void istack_destroy (istack *s)
 

Macro Definition Documentation

◆ STACK_NINC

#define STACK_NINC   50

Definition at line 19 of file istack.c.

◆ STACK_NSTART

#define STACK_NSTART   50

Definition at line 18 of file istack.c.

Function Documentation

◆ istack_contains()

int istack_contains ( istack s,
int  v 
)

Definition at line 45 of file istack.c.

◆ istack_create()

istack* istack_create ( void  )

Definition at line 32 of file istack.c.

◆ istack_destroy()

void istack_destroy ( istack s)

Definition at line 73 of file istack.c.

◆ istack_init()

static void istack_init ( istack s)
static

Definition at line 25 of file istack.c.

◆ istack_pop()

int istack_pop ( istack s)

Definition at line 67 of file istack.c.

◆ istack_push()

void istack_push ( istack s,
int  v 
)

Definition at line 55 of file istack.c.

◆ istack_reset()

void istack_reset ( istack s)

Definition at line 40 of file istack.c.