Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

intstack.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "intstack.h"

Go to the source code of this file.

Compounds

struct  intstack

Functions

IntStackHandle intstack_create (long size)
void intstack_destroy (IntStackHandle voidhandle)
int intstack_compact (IntStackHandle voidhandle)
int intstack_push (IntStackHandle voidhandle, int i)
int intstack_pop (IntStackHandle voidhandle, int *i)
int intstack_popall (IntStackHandle voidhandle)
int intstack_empty (IntStackHandle voidhandle)


Function Documentation

int intstack_compact IntStackHandle    voidhandle
 

Definition at line 64 of file intstack.c.

References IntStackHandle, NULL, intstack::s, intstack::size, and intstack::top.

IntStackHandle intstack_create long    size
 

Definition at line 34 of file intstack.c.

References intstack::growthrate, IntStackHandle, NULL, intstack::s, intstack::size, size, and intstack::top.

void intstack_destroy IntStackHandle    voidhandle
 

Definition at line 56 of file intstack.c.

References IntStackHandle, NULL, and intstack::s.

int intstack_empty IntStackHandle    voidhandle
 

Definition at line 118 of file intstack.c.

References IntStackHandle, and intstack::top.

int intstack_pop IntStackHandle    voidhandle,
int *    i
 

Definition at line 100 of file intstack.c.

References IntStackHandle, intstack::s, and intstack::top.

int intstack_popall IntStackHandle    voidhandle
 

Definition at line 111 of file intstack.c.

References IntStackHandle, and intstack::top.

int intstack_push IntStackHandle    voidhandle,
int    i
 

Definition at line 79 of file intstack.c.

References intstack::growthrate, IntStackHandle, NULL, intstack::s, intstack::size, and intstack::top.


Generated on Mon Dec 9 02:45:23 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002