From cb1a40859029f33184355475e51fec95afb79a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sat, 22 Jul 2023 03:03:09 +0300 Subject: init Just some C wares; hmap, list, optional, unit tests. --- optional/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 optional/README.md (limited to 'optional/README.md') diff --git a/optional/README.md b/optional/README.md new file mode 100644 index 0000000..c039b85 --- /dev/null +++ b/optional/README.md @@ -0,0 +1,12 @@ +# Optional + +Poor man's optional "type templates" for C. Just for fun. + +In its current form it's intended to be used with "single token" types. Might +or might not "make it compatible" with structs, enums, unions, etc. in the +future, if the need arises. + +## Example usage + +If you want to see an example on how to use optional, take a look at +`optional-test.c`. -- cgit v1.2.3