From 3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 3 Jun 2024 20:42:16 +0200 Subject: Move JS wrapper into Monoucha Operation "modularize Chawan somewhat" part 3 --- adapter/protocol/man.nim | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'adapter/protocol/man.nim') 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] == ')': -- cgit 1.4.1-2-gfad0