ui/common/condvar.c

branch
newapi
changeset 405
a7f18dda6baf
parent 349
d188f52cff7f
equal deleted inserted replaced
404:384f6d1f5784 405:a7f18dda6baf
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "condvar.h" 29 #include "condvar.h"
30 30
31 31 #include <stdlib.h>
32 32
33 UiCondVar* ui_condvar_create(void) { 33 UiCondVar* ui_condvar_create(void) {
34 UiPosixCondVar *var = malloc(sizeof(UiPosixCondVar)); 34 UiPosixCondVar *var = malloc(sizeof(UiPosixCondVar));
35 var->var.data = NULL; 35 var->var.data = NULL;
36 var->var.intdata = 0; 36 var->var.intdata = 0;

mercurial