Type errors in raster source documentation
Submitted by Nick Bowler
Assigned to Chris Wilson @ickle
Description
The definition of cairo_raster_source_acquire_func_t in the "Raster Sources" section of the manual is wrong.
See
http://cairographics.org/manual/cairo-Raster-Sources.html#cairo-raster-source-acquire-func-t
which defines the cairo_raster_source_acquire_func_t type as (simplified by omitting arguments):
cairo_surface_t (*cairo_raster_source_acquire_func_t)()
When in reality this type is (simplified):
cairo_surface_t *(*cairo_raster_source_acquire_func_t)()
i.e., the actual type is "pointer to a function returning pointer to cairo_surface_t", but the documentation describes it as "pointer to function returning cairo_surface_t".