npc

nanohard parser compiler
git clone git://git.kocotian.pl/npc.git
Log | Files | Refs

commit 6178541d4c140ac14f3b109e104efe7d3290137b
parent 4956ef1aa9bbdbdf07dfa9b9884588e8edd851e9
Author: kocotian <kocotian@kocotian.pl>
Date:   Fri,  9 Apr 2021 23:04:40 +0200

Array pseudotype

Diffstat:
Mstr.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/str.h b/str.h @@ -3,6 +3,8 @@ #include <sys/types.h> +#define Array(TYPE) struct { TYPE *data; size_t len; } + typedef struct { char *data; size_t len;