view src/ploki/sub.h @ 7535:b5736a4bcc2b

<oerjan> learn_append int-e Hen st\xc3\xa5r f\xc3\xb6r sig sj\xc3\xa4lv.
author HackBot
date Mon, 25 Apr 2016 22:30:28 +0000
parents ac0403686959
children
line wrap: on
line source

#ifndef SUB_H_
#define SUB_H_

#include "config.h"

#include <stddef.h>

struct expr;
struct sub;

struct sub *sub_new(const struct expr *);
struct sub *sub_incr(struct sub *);
void sub_decr(struct sub *);
ATTR_PURE
struct expr *sub_expr(const struct sub *);
size_t sub_id(const struct sub *);

#endif /* SUB_H_ */