preparing to handle singals
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-27 21:06:12 +09:00
parent e337e9d48b
commit 4fe4ee649f
7 changed files with 1224 additions and 190 deletions

View File

@ -4008,8 +4008,8 @@ static int init_compiler (hcl_t* hcl)
HCL_ASSERT (hcl, hcl->c == HCL_NULL);
HCL_MEMSET (&cb, 0, HCL_SIZEOF(cb));
cb.gc = gc_compiler_cb;
cb.fini = fini_compiler_cb;
cb.on_gc = gc_compiler_cb;
cb.on_fini = fini_compiler_cb;
cbp = hcl_regcb(hcl, &cb);
if (HCL_UNLIKELY(!cbp)) return -1;