• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

istack.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // File:           istack.h
00004 //
00005 // Created:        06/06/2001
00006 //
00007 // Author:         Pavel Sakov
00008 //                 CSIRO Marine Research
00009 //
00010 // Purpose:        Header for handling stack of integers.
00011 //
00012 // Description:    None
00013 //
00014 // Revisions:      None
00015 //
00016 //--------------------------------------------------------------------------
00017 
00018 #if !defined ( _ISTACK_H )
00019 #define _ISTACK_H
00020 
00021 typedef struct
00022 {
00023     int n;
00024     int nallocated;
00025     int * v;
00026 } istack;
00027 
00028 int istack_contains( istack* s, int v );
00029 istack* istack_create();
00030 void istack_destroy( istack* s );
00031 void istack_push( istack* s, int v );
00032 int istack_pop( istack* s );
00033 void istack_reset( istack* s );
00034 
00035 #endif

Generated on Wed Oct 12 2011 20:42:21 for PLplot by  doxygen 1.7.1