Sha256: 2c3a150edabae60068c3db2d553192473aa568e9c3a7268a79b6567945e0e13e
Contents?: true
Size: 418 Bytes
Versions: 59
Compression:
Stored size: 418 Bytes
Contents
#ifndef STACK_H__ #define STACK_H__ #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif struct stack { void **item; size_t size; size_t asize; }; void stack_free(struct stack *); int stack_grow(struct stack *, size_t); int stack_init(struct stack *, size_t); int stack_push(struct stack *, void *); void *stack_pop(struct stack *); void *stack_top(struct stack *); #ifdef __cplusplus } #endif #endif
Version data entries
59 entries across 58 versions & 8 rubygems