aboutsummaryrefslogtreecommitdiff
path: root/src/copyjit.h
blob: 69c34cbd9fb8abff492d829032094a7c44a88edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: copyleft-next-0.3.1 */

#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 */