nspace_dump.c 942 B

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