view src/ploki/sub.h @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +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_ */