MCPcopy Create free account
hub / github.com/Kitware/CMake / delwin

Function delwin

Utilities/cmpdcurses/pdcurses/window.c:264–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264int delwin(WINDOW *win)
265{
266 int i;
267
268 PDC_LOG(("delwin() - called\n"));
269
270 if (!win)
271 return ERR;
272
273 /* subwindows use parents' lines */
274
275 if (!(win->_flags & (_SUBWIN|_SUBPAD)))
276 for (i = 0; i < win->_maxy && win->_y[i]; i++)
277 if (win->_y[i])
278 free(win->_y[i]);
279
280 free(win->_firstch);
281 free(win->_lastch);
282 free(win->_y);
283 free(win);
284
285 return OK;
286}
287
288int mvwin(WINDOW *win, int y, int x)
289{

Callers 8

delscreenFunction · 0.85
PDC_slk_freeFunction · 0.85
getwinFunction · 0.85
scr_restoreFunction · 0.85
unpost_formFunction · 0.85
Field_GrownFunction · 0.85
Display_Or_Erase_FieldFunction · 0.85
_nc_Set_Current_FieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…