aboutsummaryrefslogtreecommitdiff
path: root/extract.h
diff options
context:
space:
mode:
Diffstat (limited to 'extract.h')
-rw-r--r--extract.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/extract.h b/extract.h
index 0b3693d2..879461cf 100644
--- a/extract.h
+++ b/extract.h
@@ -2,6 +2,7 @@
#include <stddef.h>
#include <stdbool.h>
+#include <wchar.h>
#include "terminal.h"
@@ -14,4 +15,8 @@ bool extract_one(
int col, void *context);
bool extract_finish(
- struct extraction_context *context, char **text, size_t *len);
+ struct extraction_context *context, bool strip_trailing_empty,
+ char **text, size_t *len);
+bool extract_finish_wide(
+ struct extraction_context *context, bool strip_trailing_empty,
+ wchar_t **text, size_t *len);