1
0

shell__get_view.c 494 B

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