1
0

shell_set_context.c 373 B

123456789101112131415
  1. /*
  2. * shell_set_context.c
  3. */
  4. #include "private.h"
  5. #include <assert.h>
  6. /*--------------------------------------------------------- */
  7. void clish_shell_set_context(clish_shell_t * this, const char *viewname)
  8. {
  9. this->view = clish_shell_find_view(this, viewname);
  10. assert(this->view);
  11. assert(this->global);
  12. }
  13. /*--------------------------------------------------------- */