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

Function Is_There_Room_For_A_Line

Source/CursesDialog/form/frm_driver.c:1958–1967  ·  view source on GitHub ↗

--------------------------------------------------------------------------- | Facility : libnform | Function : static bool Is_There_Room_For_A_Line(FORM * form) | | Description : Check whether or not there is enough room in the | buffer to enter a whole line. | | Return Values : TRUE - there is enough space | FALSE - there is no

Source from the content-addressed store, hash-verified

1956/*---------------------------------------------------------------------------
1957| Facility : libnform
1958| Function : static bool Is_There_Room_For_A_Line(FORM * form)
1959|
1960| Description : Check whether or not there is enough room in the
1961| buffer to enter a whole line.
1962|
1963| Return Values : TRUE - there is enough space
1964| FALSE - there is not enough space
1965+--------------------------------------------------------------------------*/
1966INLINE static bool Is_There_Room_For_A_Line(FORM * form)
1967{
1968 FIELD *field = form->current;
1969 char *begin_of_last_line, *s;
1970

Callers 2

FE_New_LineFunction · 0.85
FE_Insert_LineFunction · 0.85

Calls 2

Synchronize_BufferFunction · 0.85
After_End_Of_DataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…