Bug 73990 - Type errors in raster source documentation
Summary: Type errors in raster source documentation
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium trivial
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 20:45 UTC by Nick Bowler
Modified: 2018-08-25 13:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.