Bug 73990

Summary: Type errors in raster source documentation
Product: cairo Reporter: Nick Bowler <nbowler>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: trivial    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Nick Bowler 2014-01-23 20:45:08 UTC
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".
Comment 1 GitLab Migration User 2018-08-25 13:26:26 UTC
-- 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.