nps/stack.c File Reference

#include "stack.h"
#include <stdlib.h>
#include <assert.h>
#include "../msg.c"

Defines

#define NPS_STACK_SHRINK_CONSTANT   0.10

Functions

NPS_STACK_LKG nps_stack_tnps_stack_new (size_t init_size, size_t el_size)
NPS_STACK_LKG void nps_stack_del (nps_stack_t *o)
NPS_STACK_LKG int nps_stack_push (nps_stack_t *o, char *item, nps_error_t *error)
NPS_STACK_LKG void nps_stack_pop (nps_stack_t *o, char *out)
NPS_STACK_LKG size_t nps_stack_size (nps_stack_t *o)

Define Documentation

#define NPS_STACK_SHRINK_CONSTANT   0.10

Function Documentation

NPS_STACK_LKG void nps_stack_del ( nps_stack_t o  ) 
NPS_STACK_LKG nps_stack_t* nps_stack_new ( size_t  init_size,
size_t  el_size 
)
NPS_STACK_LKG void nps_stack_pop ( nps_stack_t o,
char *  out 
)
NPS_STACK_LKG int nps_stack_push ( nps_stack_t o,
char *  item,
nps_error_t error 
)
NPS_STACK_LKG size_t nps_stack_size ( nps_stack_t o  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sun Sep 11 09:40:46 2011 for NPSML by  doxygen 1.6.3