aboutsummaryrefslogtreecommitdiff
path: root/src/copyjit.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-08-04 21:31:59 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-08-04 21:31:59 +0300
commit7cc838733848c58ea1c88fb477cfeefc941e3f32 (patch)
tree9126a797f62ef69278ee9502c043b7e59e0f2fc1 /src/copyjit.h
parentbf993be4a04bc7279f7d49ae18f185e1dca36479 (diff)
downloadcopyjit-7cc838733848c58ea1c88fb477cfeefc941e3f32.tar.gz
copyjit-7cc838733848c58ea1c88fb477cfeefc941e3f32.zip
add compile_destroy as cleanup
Diffstat (limited to 'src/copyjit.h')
-rw-r--r--src/copyjit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/copyjit.h b/src/copyjit.h
index 8170204..6104800 100644
--- a/src/copyjit.h
+++ b/src/copyjit.h
@@ -44,6 +44,8 @@ void compile_patch(reloc_t reloc, void *addr);
void compile_start(ctx_t *ctx);
void compile_finish(ctx_t *ctx);
+void compile_destroy(ctx_t *ctx);
+
unsigned long run(ctx_t *ctx);
#endif /* HMMJIT_H */