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

Function Left_Neighbour_Field

Source/CursesDialog/form/frm_driver.c:2942–2957  ·  view source on GitHub ↗

--------------------------------------------------------------------------- | Facility : libnform | Function : static FIELD *Left_Neighbour_Field(FIELD * field) | | Description : Get the left neighbour of the field on the same line | and the same page. Cycles through the line. | | Return Values : Pointer to left neighbour field. +--------------------

Source from the content-addressed store, hash-verified

2940 field_on_page = field_on_page->sprev;
2941 if (Field_Is_Selectable(field_on_page))
2942 break;
2943 } while(field_on_page!=field);
2944
2945 return (field_on_page);
2946}
2947
2948/*---------------------------------------------------------------------------
2949| Facility : libnform
2950| Function : static FIELD *Left_Neighbour_Field(FIELD * field)
2951|
2952| Description : Get the left neighbour of the field on the same line
2953| and the same page. Cycles through the line.
2954|
2955| Return Values : Pointer to left neighbour field.
2956+--------------------------------------------------------------------------*/
2957INLINE static FIELD *Left_Neighbour_Field(FIELD * field)
2958{
2959 FIELD *field_on_page = field;
2960

Callers 1

FN_Left_FieldFunction · 0.85

Calls 1

Sorted_Previous_FieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…