summaryrefslogtreecommitdiff
path: root/src/regex__FFI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex__FFI.h')
-rw-r--r--src/regex__FFI.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/regex__FFI.h b/src/regex__FFI.h
index 6fa9482..9d6a2c2 100644
--- a/src/regex__FFI.h
+++ b/src/regex__FFI.h
@@ -22,16 +22,11 @@ extern "C" {
#include <urweb/urweb_cpp.h>
-typedef struct {
- char* text;
- void* compiled;
-} uw_Regex__FFI_regex;
+typedef void* uw_Regex__FFI_regex;
typedef struct {
char* haystack;
- int succeeded;
- unsigned n_matches;
- regmatch_t* matches;
+ void* result;
} uw_Regex__FFI_match;
uw_Basis_bool uw_Regex__FFI_succeeded(struct uw_context*,