summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 16:25:59 -0400
committermidipix <writeonce@midipix.org>2016-06-25 16:25:59 -0400
commite6f40403d9b387d8da2e184b2b1f5e6e1840b352 (patch)
tree997ed75f14e3f2c3e410615ef9998ce8af64bd61 /include
parent3a6438f57de92b749defbcbebce5390f7e979ef8 (diff)
downloadapimagic-e6f40403d9b387d8da2e184b2b1f5e6e1840b352.tar.bz2
apimagic-e6f40403d9b387d8da2e184b2b1f5e6e1840b352.tar.xz
utility: added amgc_main() as a public interface, refactored accordingly.
Diffstat (limited to 'include')
-rw-r--r--include/apimagic/apimagic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index 6e7e38b..add4e08 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -178,6 +178,7 @@ amgc_api int amgc_unmap_input (struct amgc_input *);
amgc_api int amgc_lang_std_from_string (const char * std);
/* utility api */
+amgc_api int amgc_main (int, char **, char **);
amgc_api int amgc_list_unit_defines (const struct amgc_unit_ctx *, const struct amgc_layout *, FILE *);
amgc_api int amgc_list_unit_enums (const struct amgc_unit_ctx *, const struct amgc_layout *, FILE *);
amgc_api int amgc_list_unit_typedefs (const struct amgc_unit_ctx *, const struct amgc_layout *, FILE *);