summaryrefslogtreecommitdiff
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-30 20:15:20 -0500
committermidipix <writeonce@midipix.org>2016-01-31 12:43:50 -0500
commit0c91ec9d3ffdcc3a978eaa3bc02470462d34df7a (patch)
tree80dfa07bdd841d63d13f8871b31cc32922b5d5a3 /src/skin
parentca3de486debc160722d02cbd969a7796894ecd56 (diff)
downloadapimagic-0c91ec9d3ffdcc3a978eaa3bc02470462d34df7a.tar.bz2
apimagic-0c91ec9d3ffdcc3a978eaa3bc02470462d34df7a.tar.xz
driver: --print-structs and --print-unions: initial integration.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/amgc_skin_default.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/skin/amgc_skin_default.c b/src/skin/amgc_skin_default.c
index 80a003f..804985b 100644
--- a/src/skin/amgc_skin_default.c
+++ b/src/skin/amgc_skin_default.c
@@ -24,6 +24,12 @@ const struct argv_option amgc_default_options[] = {
"output forward declarations for "
"the translation unit's enums."},
+ {"print-structs",0,TAG_PRINT_STRUCTS,ARGV_OPTARG_NONE,0,0,0,
+ "output the translation unit's structs."},
+
+ {"print-unions",0,TAG_PRINT_UNIONS,ARGV_OPTARG_NONE,0,0,0,
+ "output the translation unit's unions."},
+
{"print-typedefs",0,TAG_PRINT_TYPEDEFS,ARGV_OPTARG_REQUIRED,0,
"primary",0,
"output (a subset of) the translation unit's "