error: invalid application of ‘sizeof’ to incomplete type ‘cairo_t’
error: invalid application of ‘sizeof’ to incomplete type ‘cairo_t’ when allocating cairo_t.
surface = (cairo_t *)malloc(10 * sizeof(cairo_t));
error: invalid application of ‘sizeof’ to incomplete type ‘cairo_t’ when allocating cairo_t.
surface = (cairo_t *)malloc(10 * sizeof(cairo_t));