Function
PhocEventnew
Declaration [src]
PhocEvent*
phoc_event_new (
PhocEventType type,
const gpointer wlr_event,
gsize size
)
Parameters
type
-
Type:
PhocEventType
The type of event.
wlr_event
-
Type:
const gpointer
No description available.
size
-
Type:
gsize
No 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. |