Method

TermboxCellcopy

Declaration

TbgCell*
tbg_cell_copy (
  const TbgCell* cell
)

Description

Copy cell.

The extended character buffer is copied only when cell contains one.

Return value

Type: TbgCell

A newly allocated copy of cell.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.