mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-10-31 03:26:19 +01:00
f9ba452081
* Functions taking no parameters need to explicitly say (void). * Mark some functions as static that are * Comment out an unused function in bdz.c * Change loop indicies "i" to be unsigned if our limit is unsigned
19 lines
450 B
C
19 lines
450 B
C
#ifndef __CMPH_VSTACK_H__
|
|
#define __CMPH_VSTACK_H__
|
|
|
|
#include "cmph_types.h"
|
|
typedef struct __vstack_t vstack_t;
|
|
|
|
vstack_t *vstack_new(void);
|
|
void vstack_destroy(vstack_t *stack);
|
|
|
|
void vstack_push(vstack_t *stack, cmph_uint32 val);
|
|
cmph_uint32 vstack_top(vstack_t *stack);
|
|
void vstack_pop(vstack_t *stack);
|
|
int vstack_empty(vstack_t *stack);
|
|
cmph_uint32 vstack_size(vstack_t *stack);
|
|
|
|
void vstack_reserve(vstack_t *stack, cmph_uint32 size);
|
|
|
|
#endif
|