diff options
Diffstat (limited to 'src/copyjit.h')
| -rw-r--r-- | src/copyjit.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/copyjit.h b/src/copyjit.h new file mode 100644 index 0000000..8582217 --- /dev/null +++ b/src/copyjit.h @@ -0,0 +1,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 */ |
