Function
PhocEventnew
Declaration [src]
PhocEvent*
phoc_event_new (
PhocEventType type,
const gpointer wlr_event,
gsize size
)
Parameters
type-
Type:
PhocEventTypeThe type of event.
wlr_event-
Type:
const gpointerNo description available.
size-
Type:
gsizeNo description available.
Return value
Type: PhocEvent
A newly allocated PhocEvent.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |