aboutsummaryrefslogtreecommitdiff
path: root/src/copyjit.h
blob: 85822173c7f05276b3b1a4c36dae346075fc0f6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef HMMJIT_H
#define HMMJIT_H

typedef struct {
	char *pc;
	char *buf;
	size_t size;
} ctx_t;

#include "../lib/decls.h"

void *compile_uli(ctx_t *ctx, unsigned long i);
void compile_start(ctx_t *ctx);
void compile_finish(ctx_t *ctx);
void run(ctx_t *ctx);

#endif /* HMMJIT_H */