mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Import CMPH 1.0
This will be used for typelib indexing. See README-CMPH-IMPORT.txt for more information.
This commit is contained in:
18
cmph/vstack.h
Normal file
18
cmph/vstack.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
Reference in New Issue
Block a user