Kopīgot, izmantojot


EventLoop_Create Function

Header: #include <applibs/eventloop.h>

Creates an EventLoop object.

EventLoop *EventLoop_Create(void);

Return value

Returns a pointer to the new EventLoop object. To avoid memory leaks, the returned object must be closed with EventLoop_Close when it's no longer needed.