# grid_reader_cell_equals_data

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L343
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-grid-reader-c-grid_reader_cell_equals_data/

```c
static int grid_reader_cell_equals_data(const struct grid_cell *gc, const struct utf8_data *ud)
```

## Parameters

- `gc` (`const struct grid_cell *`)
- `ud` (`const struct utf8_data *`)

## Called by

- [`grid_reader_cursor_jump`](/en/tmux/latest/reference/c-function-grid_reader_cursor_jump/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L369)
- [`grid_reader_cursor_jump_back`](/en/tmux/latest/reference/c-function-grid_reader_cursor_jump_back/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L397)

## Referenced declarations

- [`grid_cell.data`](/en/tmux/latest/reference/c-struct-grid_cell-data/) (attribute)
- [`utf8_data.data`](/en/tmux/latest/reference/c-struct-utf8_data-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/latest/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_cell`](/en/tmux/latest/reference/c-struct-grid_cell/) (struct)
- [`GRID_FLAG_PADDING`](/en/tmux/latest/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`GRID_FLAG_TAB`](/en/tmux/latest/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`utf8_data.size`](/en/tmux/latest/reference/c-struct-utf8_data-size/) (attribute)
- [`utf8_data`](/en/tmux/latest/reference/c-struct-utf8_data/) (struct)
