Method

PhocEventcopy

Declaration [src]

PhocEvent*
phoc_event_copy (
  const PhocEvent* event
)

Description [src]

Copies event.

Return value

Type: PhocEvent

A newly allocated PhocEvent.

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