PLplot: istack.h Source File

PLplot 5.15.0

istack.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 //
3 // File: istack.h
4 //
5 // Created: 06/06/2001
6 //
7 // Author: Pavel Sakov
8 // CSIRO Marine Research
9 //
10 // Purpose: Header for handling stack of integers.
11 //
12 // Description: None
13 //
14 // Revisions: None
15 //
16 //--------------------------------------------------------------------------
17
18 #if !defined ( _ISTACK_H )
19 #define _ISTACK_H
20
21 typedef struct
22 {
23 int n;
24 int nallocated;
25 int * v;
26 } istack;
27
28 int istack_contains( istack* s, int v );
29 istack* istack_create( void );
30 void istack_destroy( istack* s );
31 void istack_push( istack* s, int v );
32 int istack_pop( istack* s );
33 void istack_reset( istack* s );
34
35 #endif
istack_pop
int istack_pop(istack *s)
Definition: istack.c:67
istack_contains
int istack_contains(istack *s, int v)
Definition: istack.c:45
istack
Definition: istack.h:21
istack_reset
void istack_reset(istack *s)
Definition: istack.c:40
istack_destroy
void istack_destroy(istack *s)
Definition: istack.c:73
istack::nallocated
int nallocated
Definition: istack.h:24
istack::v
int * v
Definition: istack.h:25
istack_push
void istack_push(istack *s, int v)
Definition: istack.c:55
istack
struct istack istack
Definition: delaunay.h:42
istack::n
int n
Definition: istack.h:23
istack_create
istack * istack_create(void)
Definition: istack.c:32