[examples] write examples directory

This commit is contained in:
Allen Webster
2021-10-08 11:08:51 -07:00
parent 0b27e69ec4
commit 8432125f55
10 changed files with 85 additions and 23 deletions
+1 -3
View File
@@ -1,5 +1,5 @@
/*
** Example: user-errors
** Example: user errors
**
** This example shows how to print custom error messages.
**
@@ -10,8 +10,6 @@
#include "md.h"
#include "md.c"
// @notes For simple single-threaded memory management in a run-once-and-exit
// utility, a single global arena is our recommended approach.
static MD_Arena *arena = 0;