Define some optional types

This commit is contained in:
Bruce Hill 2024-09-28 02:07:37 -04:00
parent e63372452e
commit 794c1343ba
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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__))