Source file function_description.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module Types = Types_generated
module Functions (F : Ctypes.FOREIGN) = struct
open F
let lre_compile =
F.foreign "lre_compile"
(Ctypes.ptr Ctypes.int
@-> Ctypes.ptr Ctypes.char
@-> Ctypes.int
@-> Ctypes.ocaml_string
@-> Ctypes.size_t
@-> Ctypes.int
@-> Ctypes.ptr Ctypes.void
@-> F.returning (Ctypes.ptr Ctypes.uint8_t))
let lre_exec =
F.foreign "lre_exec"
(Ctypes.ptr (Ctypes.ptr Ctypes.uint8_t)
@-> Ctypes.ptr Ctypes.uint8_t
@-> Ctypes.ptr Ctypes.uint8_t
@-> Ctypes.int
@-> Ctypes.int
@-> Ctypes.int
@-> Ctypes.ptr Ctypes.void
@-> F.returning Ctypes.int)
let lre_get_capture_count =
F.foreign "lre_get_capture_count"
(Ctypes.ptr Ctypes.uint8_t @-> F.returning Ctypes.int)
let lre_get_flags =
F.foreign "lre_get_flags"
(Ctypes.ptr Ctypes.uint8_t @-> F.returning Ctypes.int)
end