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".
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/7.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.