FreeCalypso > hg > gsm-codec-lib
view libtwamr/namespace.awk @ 351:97c699f40ab3
libtwamr: generate namespace.h from namespace.list
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 05 May 2024 20:34:55 +0000 |
parents | |
children | b22f13fd0f6a |
line wrap: on
line source
# This awk script generates namespace.h from namespace.list BEGIN { print "/* Auto-generated; do not edit! */" print "" print "#ifndef namespace_h" print "#define namespace_h" print "" } NF == 1 && $1 !~ /^#/ { printf "#define %s amr__%s\n", $1, $1 } END { print "" print "#endif" }