From 7cc838733848c58ea1c88fb477cfeefc941e3f32 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 4 Aug 2023 21:31:59 +0300 Subject: add compile_destroy as cleanup --- src/copyjit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/copyjit.h') 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 */ -- cgit v1.3