about summary refs log tree commit diff stats
path: root/src/utils
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-08-09 00:29:31 +0200
committerbptato <nincsnevem662@gmail.com>2024-08-09 00:29:31 +0200
commitb6b998bf608f2f82d5b639455b2fd6224b0919e2 (patch)
tree8dd1e2869b64ac584700b6de034db5c667200954 /src/utils
parent4c64687290c908cd791a058dede9bd4f2a1c7757 (diff)
downloadchawan-b6b998bf608f2f82d5b639455b2fd6224b0919e2.tar.gz
Update monoucha
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/luwrap.nim11
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: