action_dump.c 571 B

123456789101112131415161718192021222324
  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",
  12. this->script ? this->script : "(null)");
  13. lub_dump_printf("builtin : %s\n",
  14. this->builtin ? this->builtin : "(null)");
  15. lub_dump_printf("shebang : %s\n",
  16. this->shebang ? this->shebang : "(null)");
  17. lub_dump_undent();
  18. }
  19. /*--------------------------------------------------------- */