shell__get_view.c 442 B

123456789101112131415161718
  1. /*
  2. * shell__get_view.c
  3. */
  4. #include "private.h"
  5. /*--------------------------------------------------------- */
  6. const clish_view_t *clish_shell__get_view(const clish_shell_t * this)
  7. {
  8. return this->view;
  9. }
  10. /*--------------------------------------------------------- */
  11. unsigned clish_shell__get_depth(const clish_shell_t * this)
  12. {
  13. return clish_view__get_depth(this->view);
  14. }
  15. /*--------------------------------------------------------- */