From 794c1343ba36d62e6dcb4df9a51e89e2c4f42b74 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 28 Sep 2024 02:07:37 -0400 Subject: Define some optional types --- stdlib/datatypes.h | 1 + stdlib/shell.h | 1 + 2 files changed, 2 insertions(+) (limited to 'stdlib') diff --git a/stdlib/datatypes.h b/stdlib/datatypes.h index 8c13d3c4..4bb6beb3 100644 --- a/stdlib/datatypes.h +++ b/stdlib/datatypes.h @@ -87,5 +87,6 @@ typedef struct Text_s { } Text_t; #define Pattern_t Text_t +#define OptionalPattern_t Text_t // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 diff --git a/stdlib/shell.h b/stdlib/shell.h index 14a086ef..fd182253 100644 --- a/stdlib/shell.h +++ b/stdlib/shell.h @@ -12,6 +12,7 @@ #include "types.h" #define Shell_t Text_t +#define OptionalShell_t Text_t #define Shell(text) ((Shell_t)Text(text)) #define Shells(...) ((Shell_t)Texts(__VA_ARGS__)) -- cgit v1.2.3