1
0

nspace_dump.c 808 B

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