[cairo-bugs] [Bug 73990] New: Type errors in raster source documentation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 23 12:45:08 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=73990
Priority: medium
Bug ID: 73990
Assignee: chris at chris-wilson.co.uk
Summary: Type errors in raster source documentation
QA Contact: cairo-bugs at cairographics.org
Severity: trivial
Classification: Unclassified
OS: All
Reporter: nbowler at draconx.ca
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: cairo
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".
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140123/88c384c0/attachment.html>
More information about the cairo-bugs
mailing list