_notify_emit(surface_queue, &surface_queue->reset_noti);
return TBM_SURFACE_QUEUE_ERROR_NONE;
- }
- else {
-
+ } else {
if (surface_queue->queue_size > queue_size) {
need_del = surface_queue->queue_size - queue_size;
}
static const tbm_surface_queue_interface tbm_queue_default_impl = {
- NULL, /*__tbm_queue_default_init*/
+ NULL, /*__tbm_queue_default_init*/
NULL, /*__tbm_queue_default_reset*/
__tbm_queue_default_destroy,
__tbm_queue_default_need_attach,
typedef void (*tbm_surface_queue_notify_cb)(tbm_surface_queue_h surface_queue,
void *data);
-typedef tbm_surface_h (*tbm_surface_alloc_cb)(tbm_surface_queue_h surface_queue,
+typedef tbm_surface_h(*tbm_surface_alloc_cb)(tbm_surface_queue_h surface_queue,
void *data);
typedef void (*tbm_surface_free_cb)(tbm_surface_queue_h surface_queue,