Fixed all Wdocumentation warnings

This commit is contained in:
akallabeth
2022-12-09 14:35:03 +01:00
committed by Martin Fleisz
parent 8200536285
commit 37ab25e19d
33 changed files with 822 additions and 816 deletions

View File

@@ -53,14 +53,16 @@ extern UwacErrorHandler uwacErrorHandler;
typedef struct uwac_task UwacTask;
/** @brief */
/** @brief task struct
*/
struct uwac_task
{
void (*run)(UwacTask* task, uint32_t events);
struct wl_list link;
};
/** @brief a global registry object */
/** @brief a global registry object
*/
struct uwac_global
{
uint32_t name;
@@ -73,14 +75,16 @@ typedef struct uwac_global UwacGlobal;
struct uwac_event_list_item;
typedef struct uwac_event_list_item UwacEventListItem;
/** @brief */
/** @brief double linked list element
*/
struct uwac_event_list_item
{
UwacEvent event;
UwacEventListItem *tail, *head;
};
/** @brief main connection object to a wayland display */
/** @brief main connection object to a wayland display
*/
struct uwac_display
{
struct wl_list globals;

View File

@@ -356,7 +356,7 @@ int UwacWindowShmAllocBuffers(UwacWindow* w, int nbuffers, int allocSize, uint32
#else
region16_init(&buffer->damage);
#endif
buffer->data = &data[allocSize * i];
buffer->data = &((char*)data)[allocSize * i];
buffer->size = allocSize;
buffer->wayland_buffer =
wl_shm_pool_create_buffer(pool, allocSize * i, width, height, w->stride, format);