diff options
author | bptato <nincsnevem662@gmail.com> | 2024-08-09 00:29:31 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-08-09 00:29:31 +0200 |
commit | b6b998bf608f2f82d5b639455b2fd6224b0919e2 (patch) | |
tree | 8dd1e2869b64ac584700b6de034db5c667200954 /src/utils | |
parent | 4c64687290c908cd791a058dede9bd4f2a1c7757 (diff) | |
download | chawan-b6b998bf608f2f82d5b639455b2fd6224b0919e2.tar.gz |
Update monoucha
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/luwrap.nim | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/utils/luwrap.nim b/src/utils/luwrap.nim index 926cf0c0..6081cdf8 100644 --- a/src/utils/luwrap.nim +++ b/src/utils/luwrap.nim @@ -94,12 +94,11 @@ type LUContext* = ref LUContextObj -{.warning[Deprecated]: off.}: - proc `=destroy`*(ctx: var LUContextObj) = - for lur, cr in ctx.crs.mpairs: - if lur in ctx.inited: - cr_free(addr cr) - ctx.inited = {} +proc `=destroy`*(ctx: var LUContextObj) = + for lur, cr in ctx.crs.mpairs: + if lur in ctx.inited: + cr_free(addr cr) + ctx.inited = {} proc initGeneralCategory(ctx: LUContext; lur: LURangeType) = if lur notin ctx.inited: |