From 11a2560513e114ae30904f0598c4732aeac1972a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Oct 2021 17:59:37 +0200 Subject: [Meta] Initial commit --- macros.m4 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 macros.m4 (limited to 'macros.m4') diff --git a/macros.m4 b/macros.m4 new file mode 100644 index 0000000..068ff3e --- /dev/null +++ b/macros.m4 @@ -0,0 +1,4 @@ +define(`m4_len', defn(`len')) +undefine(`len') +define(`WRITE_HEADER', + `w.WriteHeader($1); ifelse(eval(m4_len($2) == 0), 0, fmt.Fprintln(w, $2);) return;') -- cgit v1.2.3