action_dump.c 527 B

123456789101112131415161718192021
  1. /*
  2. * action_dump.c
  3. */
  4. #include "lub/dump.h"
  5. #include "private.h"
  6. /*--------------------------------------------------------- */
  7. void clish_action_dump(const clish_action_t *this)
  8. {
  9. lub_dump_printf("action(%p)\n", this);
  10. lub_dump_indent();
  11. lub_dump_printf("script : %s\n", LUB_DUMP_STR(this->script));
  12. lub_dump_printf("builtin : %s\n", LUB_DUMP_STR(this->builtin));
  13. lub_dump_printf("shebang : %s\n", LUB_DUMP_STR(this->shebang));
  14. lub_dump_undent();
  15. }
  16. /*--------------------------------------------------------- */