view src/ploki/text.h @ 6946:d634e64cd991

<shachaf> le/rn cut elimination/The cut-elimination theorem states that any Prolog program written using the cut operator ! can be rewritten without using that operator.
author HackBot
date Wed, 24 Feb 2016 05:54:46 +0000
parents ac0403686959
children
line wrap: on
line source

#ifndef TEXT_H_
#define TEXT_H_

#include "op.h"

#include <stddef.h>

struct text {
	size_t length, size;
	struct op **start;
};

void text_on(struct text *);
void text_off(struct text *);
void text_1(struct text *);
struct op *text_push(struct text *, const struct op *);

#endif /* TEXT_H_ */