# grid_get_extended_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L98
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-grid-c-grid_get_extended_cell/

```c
static void grid_get_extended_cell(struct grid_line *gl, struct grid_cell_entry *gce, int flags)
```

## Parameters

- `gl` (`struct grid_line *`)
- `gce` (`struct grid_cell_entry *`)
- `flags` (`int`)

## Called by

- [`grid_clear_cell`](/en/tmux/3.2a/reference/c-function-grid-c-grid_clear_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L204)
- [`grid_extended_cell`](/en/tmux/3.2a/reference/c-function-grid-c-grid_extended_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L120)

## Calls

- [`xreallocarray`](/en/tmux/3.2a/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L103)

## Referenced declarations

- [`grid_line.extddata`](/en/tmux/3.2a/reference/c-struct-grid_line-extddata/) (attribute)
- [`grid_line.extdsize`](/en/tmux/3.2a/reference/c-struct-grid_line-extdsize/) (attribute)
- [`grid_cell_entry.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell_entry-flags/) (attribute)
- [`grid_cell_entry`](/en/tmux/3.2a/reference/c-struct-grid_cell_entry/) (struct)
- [`GRID_FLAG_EXTENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_flag_extended/) (constant)
- [`grid_line`](/en/tmux/3.2a/reference/c-struct-grid_line/) (struct)
