about summary refs log tree commit diff stats
path: root/adapter/protocol/man.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-03 20:42:16 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-03 21:15:44 +0200
commit3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e (patch)
tree9708d4599360116a96e4aa7f983eea387e8437c6 /adapter/protocol/man.nim
parent3e12a95ab34e120fb958ba0eeebaada5def7cd11 (diff)
downloadchawan-3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e.tar.gz
Move JS wrapper into Monoucha
Operation "modularize Chawan somewhat" part 3
Diffstat (limited to 'adapter/protocol/man.nim')
-rw-r--r--adapter/protocol/man.nim8
1 files changed, 2 insertions, 6 deletions
diff --git a/adapter/protocol/man.nim b/adapter/protocol/man.nim
index 4d6de03f..50521ca1 100644
--- a/adapter/protocol/man.nim
+++ b/adapter/protocol/man.nim
@@ -3,15 +3,11 @@ import std/posix
 import std/strutils
 from std/unicode import runeLenAt
 
-import bindings/libregexp
-import js/jsregex
+import monoucha/jsregex
+import monoucha/libregexp
 import types/opt
 import utils/twtstr
 
-proc lre_check_stack_overflow(opaque: pointer; alloca_size: csize_t): cint
-    {.exportc.} =
-  return 0
-
 proc parseSection(query: string): tuple[page, section: string] =
   var section = ""
   if query.len > 0 and query[^1] == ')':