Data Structures | Macros | Typedefs
ugrid.h File Reference
#include "nvim/ui.h"
#include "nvim/globals.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

#define CELLBYTES   (sizeof(schar_T))
#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)
struct ucell UCell
Definition: ugrid.h:7
for(size_t i=1;i< ARRAY_SIZE(argv);i++)
Definition: typval.c:1215

Typedef Documentation

typedef struct ucell UCell
typedef struct ugrid UGrid