nspace_dump.c 768 B

1234567891011121314151617181920212223
  1. /*
  2. * nspace_dump.c
  3. */
  4. #include "private.h"
  5. #include "lub/dump.h"
  6. /*--------------------------------------------------------- */
  7. void clish_nspace_dump(const clish_nspace_t * this)
  8. {
  9. lub_dump_printf("nspace(%p)\n", this);
  10. lub_dump_indent();
  11. lub_dump_printf("view : %s\n",
  12. clish_view__get_name(this->view));
  13. lub_dump_printf("prefix : %s\n", LUB_DUMP_STR(this->prefix));
  14. lub_dump_printf("help : %s\n", LUB_DUMP_BOOL(this->help));
  15. lub_dump_printf("completion : %s\n", LUB_DUMP_BOOL(this->completion));
  16. lub_dump_printf("context_help : %s\n", LUB_DUMP_BOOL(this->context_help));
  17. lub_dump_printf("inherit : %s\n", LUB_DUMP_BOOL(this->inherit));
  18. lub_dump_undent();
  19. }
  20. /*--------------------------------------------------------- */