Skip to content

MTY_QueueFlush

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Set all buffers in a queue as empty.

void MTY_QueueFlush(
    MTY_Queue *  ctx,
    MTY_FreeFunc freeFunc
);

Parameters

ctx (MTY_Queue *)

An MTY_Queue.

freeFunc (MTY_FreeFunc)

Function called on each user allocated value in the queue to give you the opportunity to free resources. This may be NULL if it is unnecessary.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Struct

Clone this wiki locally