Data Structures | Macros | Typedefs
ugrid.h File Reference
#include "nvim/globals.h"
#include "nvim/ui.h"

Go to the source code of this file.

Data Structures

struct  ucell
 
struct  ugrid
 

Macros

#define CELLBYTES   (sizeof(schar_T))
 
#define UGRID_FOREACH_CELL(grid, row, startcol, endcol, code)
 

Typedefs

typedef struct ucell UCell
 
typedef struct ugrid UGrid
 

Macro Definition Documentation

◆ CELLBYTES

#define CELLBYTES   (sizeof(schar_T))

◆ UGRID_FOREACH_CELL

#define UGRID_FOREACH_CELL (   grid,
  row,
  startcol,
  endcol,
  code 
)
Value:
do { \
UCell *row_cells = (grid)->cells[row]; \
for (int curcol = startcol; curcol < endcol; curcol++) { \
UCell *cell = row_cells + curcol; \
(void)(cell); \
code; \
} \
} while (0)

Typedef Documentation

◆ UCell

typedef struct ucell UCell

◆ UGrid

typedef struct ugrid UGrid
void
void(WINAPI *pClosePseudoConsole)(HPCON)
startcol
startcol
Definition: normal.c:3242