aboutsummaryrefslogtreecommitdiff
path: root/examples/patterns/match_type.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-01 14:05:10 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-01 14:05:10 -0400
commit4d59fc2987e52da0274e6b204a9d2885613f74b7 (patch)
tree8c262f99cb6ae9b550b9f8abf0ab0477044d087a /examples/patterns/match_type.h
parent7a2c99de74f5870e1dea5b59d049678ad0ef8e44 (diff)
Move patterns into a module
Diffstat (limited to 'examples/patterns/match_type.h')
-rw-r--r--examples/patterns/match_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/patterns/match_type.h b/examples/patterns/match_type.h
new file mode 100644
index 00000000..5d063431
--- /dev/null
+++ b/examples/patterns/match_type.h
@@ -0,0 +1,8 @@
+#pragma once
+
+typedef struct {
+ Text_t text;
+ Int_t index;
+ Array_t captures;
+} XMatch;
+