1
0

nspace_dump.c 822 B

1234567891011121314151617181920212223242526272829
  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. unsigned i;
  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("prefix : %s\n",
  15. this->prefix ? this->prefix : "(null)");
  16. lub_dump_printf("help : %s\n", this->help ? "true" : "false");
  17. lub_dump_printf("completion : %s\n",
  18. this->completion ? "true" : "false");
  19. lub_dump_printf("context_help : %s\n",
  20. this->context_help ? "true" : "false");
  21. lub_dump_printf("inherit : %s\n",
  22. this->inherit ? "true" : "false");
  23. lub_dump_undent();
  24. }
  25. /*--------------------------------------------------------- */