123456789101112131415161718192021222324252627282930 |
- #ifdef DEBUG
- /*
- * action_dump.c
- */
- #include "lub/dump.h"
- #include "private.h"
- /*--------------------------------------------------------- */
- void clish_action_dump(const clish_action_t *this)
- {
- lub_dump_printf("action(%p)\n", this);
- lub_dump_indent();
- lub_dump_printf("script : %s\n", LUB_DUMP_STR(this->script));
- lub_dump_printf("builtin : %s\n",
- this->builtin ? clish_sym__get_name(this->builtin) : LUB_DUMP_NULL );
- lub_dump_printf("shebang : %s\n", LUB_DUMP_STR(this->shebang));
- lub_dump_printf("lock : %s\n", LUB_DUMP_BOOL(this->lock));
- lub_dump_printf("interrupt : %s\n", LUB_DUMP_BOOL(this->interrupt));
- lub_dump_printf("interactive : %s\n", LUB_DUMP_BOOL(this->interactive));
- lub_dump_printf("permanent : %s\n", LUB_DUMP_BOOL(this->permanent));
- lub_dump_undent();
- }
- /*--------------------------------------------------------- */
- #endif /* DEBUG */
|