#include <stdlib.h>
#include "../error/error.h"
Go to the source code of this file.
Classes | |
struct | nps_stack_t |
Defines | |
#define | NPS_STACK_LKG static inline |
Functions | |
NPS_STACK_LKG nps_stack_t * | nps_stack_new (size_t size, size_t el_size) |
NPS_STACK_LKG void | nps_stack_del (nps_stack_t *stack) |
NPS_STACK_LKG int | nps_stack_push (nps_stack_t *stack, char *element, nps_error_t *error) |
NPS_STACK_LKG void | nps_stack_pop (nps_stack_t *stack, char *out) |
NPS_STACK_LKG unsigned long | nps_stack_size (nps_stack_t *stack) |
#define NPS_STACK_LKG static inline |
NPS_STACK_LKG void nps_stack_del | ( | nps_stack_t * | stack | ) |
NPS_STACK_LKG nps_stack_t* nps_stack_new | ( | size_t | size, | |
size_t | el_size | |||
) |
NPS_STACK_LKG void nps_stack_pop | ( | nps_stack_t * | stack, | |
char * | out | |||
) |
NPS_STACK_LKG int nps_stack_push | ( | nps_stack_t * | stack, | |
char * | element, | |||
nps_error_t * | error | |||
) |
NPS_STACK_LKG unsigned long nps_stack_size | ( | nps_stack_t * | stack | ) |