aboutsummaryrefslogtreecommitdiffhomepage
path: root/macros.m4
blob: b898e1f16ac15ea29e708952a72f7ce386c85560 (plain) (blame)
1
2
3
4
define(`m4_len', defn(`len'))
undefine(`len')
define(`WRITEHEADER',
       `w.WriteHeader($1); ifelse(eval(m4_len($2) == 0), 0, fmt.Fprintln(w, $2);) return;')