diff options
author | midipix <writeonce@midipix.org> | 2016-04-30 14:42:09 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-30 15:43:33 -0400 |
commit | 045b885d9f005157d8c2911f4b2f0e5256d7d30b (patch) | |
tree | 6ef913b356da70070ef9c92aaa11a8ec89e155a8 | |
parent | e9dbdf19b64af1560a24221c47cd7305bf0b23ed (diff) | |
download | slibtool-045b885d9f005157d8c2911f4b2f0e5256d7d30b.tar.bz2 slibtool-045b885d9f005157d8c2911f4b2f0e5256d7d30b.tar.xz |
utility: output: added slbt_output_execute().
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | src/output/slbt_output_exec.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 5f4955b..f03155a 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -258,6 +258,7 @@ slbt_api int slbt_dump_machine (const char * compiler, char * machine, size_t slbt_api int slbt_output_config (const struct slbt_driver_ctx *); slbt_api int slbt_output_exec (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *, const char *); slbt_api int slbt_output_compile (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *); +slbt_api int slbt_output_execute (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *); slbt_api int slbt_output_install (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *); slbt_api int slbt_output_link (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *); diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c index 5adb4bb..e75a9d7 100644 --- a/src/output/slbt_output_exec.c +++ b/src/output/slbt_output_exec.c @@ -102,6 +102,13 @@ int slbt_output_compile( return slbt_output_exec(dctx,ectx,"compile"); } +int slbt_output_execute( + const struct slbt_driver_ctx * dctx, + const struct slbt_exec_ctx * ectx) +{ + return slbt_output_exec(dctx,ectx,"execute"); +} + int slbt_output_install( const struct slbt_driver_ctx * dctx, const struct slbt_exec_ctx * ectx) |