Sha256: 6c608da6941d242aef76b12c55f31cf2f22bd69006e68f0960e0c4f1196865e0

Contents?: true

Size: 478 Bytes

Versions: 13

Compression:

Stored size: 478 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 *);

void *redcarpet_stack_pop(struct stack *);
void *redcarpet_stack_top(struct stack *);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

13 entries across 10 versions & 3 rubygems

Version Path
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h
candlepin-api-0.4.0 bundle/ruby/gems/redcarpet-2.3.0/ext/redcarpet/stack.h
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/redcarpet-2.3.0/ext/redcarpet/stack.h
candlepin-api-0.4.0 bundle/ruby/1.8/gems/redcarpet-2.3.0/ext/redcarpet/stack.h
redcarpet-3.0.0 ext/redcarpet/stack.h
redcarpet-2.3.0 ext/redcarpet/stack.h