townengine/bin/gen_api_header.sh

5 lines
156 B
Bash
Executable File

#!/bin/env sh
# single header api generator with clang
clang -I./ -P -E -nostdinc -nobuiltininc -DTWN_NOT_C $TWNROOT/include/twn_game_api.h | clang-format