about summary refs log tree commit diff stats
path: root/src/bindings/libregexp.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-23 16:54:02 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-23 17:39:06 +0200
commite7b53775a3f52cb5d8da865213c5dc38b954e33c (patch)
tree200741f8ed965f407c1a6af8823705db133bf3d4 /src/bindings/libregexp.nim
parentc7f25b2fe470849e028f9502d3da0851f149f065 (diff)
downloadchawan-e7b53775a3f52cb5d8da865213c5dc38b954e33c.tar.gz
Improved incremental search: support unicode
Diffstat (limited to 'src/bindings/libregexp.nim')
-rw-r--r--src/bindings/libregexp.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/libregexp.nim b/src/bindings/libregexp.nim
index 1b84400e..e0a05543 100644
--- a/src/bindings/libregexp.nim
+++ b/src/bindings/libregexp.nim
@@ -17,3 +17,5 @@ proc lre_exec*(capture: ptr ptr uint8, bc_buf: ptr uint8, cbuf: ptr uint8,
                opaque: pointer): cint {.importc: "lre_exec", header: lreheader.}
 
 proc lre_get_capture_count*(bc_buf: ptr uint8): cint {.importc: "lre_get_capture_count", header: lreheader.}
+
+proc lre_get_flags*(bc_buf: ptr uint8): cint {.importc: "lre_get_flags", header: lreheader.}