mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-10-30 19:16:19 +01:00
6178293a83
This will be used for typelib indexing. See README-CMPH-IMPORT.txt for more information.
19 lines
446 B
C
19 lines
446 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 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
|