summaryrefslogtreecommitdiffhomepage
path: root/include/stc/forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/forward.h')
-rw-r--r--include/stc/forward.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/stc/forward.h b/include/stc/forward.h
index 9f7a0063..2372a618 100644
--- a/include/stc/forward.h
+++ b/include/stc/forward.h
@@ -48,6 +48,7 @@ typedef struct csview {
typedef union {
csview_value* ref;
+ csview chr;
struct { csview chr; csview_value* end; } u8;
} csview_iter;
@@ -61,7 +62,8 @@ typedef struct crawstr {
typedef union {
crawstr_value* ref;
- struct { csview chr; } u8;
+ csview chr;
+ struct { csview chr; } u8; // [deprecated]
} crawstr_iter;
@@ -75,7 +77,8 @@ typedef union cstr {
typedef union {
cstr_value* ref;
- struct { csview chr; } u8;
+ csview chr;
+ struct { csview chr; } u8; // [deprecated]
} cstr_iter;