Method

TermboxEventcopy

Declaration

TbgEvent*
tbg_event_copy (
  const TbgEvent* event
)

Description

Copy event.

Return value

Type: TbgEvent

A newly allocated copy of event.

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