Sha256: 39174f7531030c8e222ec7901962c7c0b0c9059200c5f0a4bb2fa54497ed676f

Contents?: true

Size: 391 Bytes

Versions: 12

Compression:

Stored size: 391 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 redcarpet_stack_free(struct stack *);
int redcarpet_stack_grow(struct stack *, size_t);
int redcarpet_stack_init(struct stack *, size_t);

int redcarpet_stack_push(struct stack *, void *);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
redcarpet-3.3.2 ext/redcarpet/stack.h
redcarpet-3.3.1 ext/redcarpet/stack.h
redcarpet-3.3.0 ext/redcarpet/stack.h
redcarpet-3.2.3 ext/redcarpet/stack.h
tight-redcarpet-3.2.0 ext/redcarpet/stack.h
redcarpet-3.2.2 ext/redcarpet/stack.h
redcarpet-3.2.1 ext/redcarpet/stack.h
redcarpet-3.2.0 ext/redcarpet/stack.h
tight-redcarpet-3.1.1 ext/redcarpet/stack.h
redcarpet-3.1.2 ext/redcarpet/stack.h
redcarpet-3.1.1 ext/redcarpet/stack.h
redcarpet-3.1.0 ext/redcarpet/stack.h