123456789101112131415161718192021222324 |
- /*
- * var_dump.c
- */
- #include "lub/dump.h"
- #include "clish/action.h"
- #include "private.h"
- /*--------------------------------------------------------- */
- void clish_var_dump(const clish_var_t *this)
- {
- lub_dump_printf("var(%p)\n", this);
- lub_dump_indent();
- lub_dump_printf("name : %s\n", this->name);
- lub_dump_printf("dynamic : %s\n",
- this->dynamic ? "true" : "false");
- lub_dump_printf("value : %s\n", this->value);
- clish_action_dump(this->action);
- lub_dump_undent();
- }
- /*--------------------------------------------------------- */
|