diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-11 22:38:49 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-11 22:38:49 +0100 |
commit | f55c4ee5375410fba6df7299f32c6eefd59d9058 (patch) | |
tree | dd3bcc0a1e1875308dc1a57c8eb6ce35d04a031f /src/bindings/libregexp.nim | |
parent | 304640f7f7443a11753cdcea26926090daa59de0 (diff) | |
download | chawan-f55c4ee5375410fba6df7299f32c6eefd59d9058.tar.gz |
Remove libregexp headers
we should be fine.....
Diffstat (limited to 'src/bindings/libregexp.nim')
-rw-r--r-- | src/bindings/libregexp.nim | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/bindings/libregexp.nim b/src/bindings/libregexp.nim index e0a05543..957730ad 100644 --- a/src/bindings/libregexp.nim +++ b/src/bindings/libregexp.nim @@ -1,5 +1,3 @@ -const lreheader = "bindings/libregexp.h" - const LRE_FLAG_GLOBAL* = 1 shl 0 LRE_FLAG_IGNORECASE* = 1 shl 1 @@ -10,12 +8,12 @@ const proc lre_compile*(plen: ptr cint, error_msg: cstring, error_msg_size: cint, buf: cstring, buf_len: csize_t, re_flags: cint, - opaque: pointer): ptr uint8 {.importc: "lre_compile", header: lreheader.} + opaque: pointer): ptr uint8 {.importc: "lre_compile".} proc lre_exec*(capture: ptr ptr uint8, bc_buf: ptr uint8, cbuf: ptr uint8, cindex: cint, clen: cint, cbuf_type: cint, - opaque: pointer): cint {.importc: "lre_exec", header: lreheader.} + opaque: pointer): cint {.importc: "lre_exec".} -proc lre_get_capture_count*(bc_buf: ptr uint8): cint {.importc: "lre_get_capture_count", header: lreheader.} +proc lre_get_capture_count*(bc_buf: ptr uint8): cint {.importc: "lre_get_capture_count".} -proc lre_get_flags*(bc_buf: ptr uint8): cint {.importc: "lre_get_flags", header: lreheader.} +proc lre_get_flags*(bc_buf: ptr uint8): cint {.importc: "lre_get_flags".} |