# grid_need_extended_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L80
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-grid-c-grid_need_extended_cell/

```c
static int grid_need_extended_cell(const struct grid_cell_entry *gce, const struct grid_cell *gc)
```

## Parameters

- `gce` (`const struct grid_cell_entry *`)
- `gc` (`const struct grid_cell *`)

## Called by

- [`grid_set_cell`](/en/tmux/3.7c/reference/c-function-grid_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L609)
- [`grid_set_cells`](/en/tmux/3.7c/reference/c-function-grid_set_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L643)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.7c/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`COLOUR_FLAG_RGB`](/en/tmux/3.7c/reference/c-define-tmux-h-colour_flag_rgb/) (constant)
- [`grid_cell.data`](/en/tmux/3.7c/reference/c-struct-grid_cell-data/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_cell_entry.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell_entry-flags/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_cell`](/en/tmux/3.7c/reference/c-struct-grid_cell/) (struct)
- [`grid_cell_entry`](/en/tmux/3.7c/reference/c-struct-grid_cell_entry/) (struct)
- [`GRID_FLAG_EXTENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_extended/) (constant)
- [`GRID_FLAG_TAB`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`grid_cell.link`](/en/tmux/3.7c/reference/c-struct-grid_cell-link/) (attribute)
- [`utf8_data.size`](/en/tmux/3.7c/reference/c-struct-utf8_data-size/) (attribute)
- [`grid_cell.us`](/en/tmux/3.7c/reference/c-struct-grid_cell-us/) (attribute)
- [`utf8_data.width`](/en/tmux/3.7c/reference/c-struct-utf8_data-width/) (attribute)
