[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo-bugs
Subject: [cairo-bugs] [Bug 20075] New: There is a misprint in the spec for
From: bugzilla-daemon () freedesktop ! org
Date: 2009-02-12 9:55:08
Message-ID: bug-20075-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]
http://bugs.freedesktop.org/show_bug.cgi?id=20075
Summary: There is a misprint in the spec for
cairo_image_surface_create_from_png_stream() function
Product: cairo
Version: 1.8.6
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: png functions
AssignedTo: cworth@cworth.org
ReportedBy: tructv@necsv.com
QAContact: cairo-bugs@cairographics.org
In the spec for cairo_image_surface_create_from_png_stream(), the standard
states:
Returns : a new cairo_surface_t initialized with the contents of the PNG file
or NULL if the data read is not a valid PNG image or memory could not be
allocated for the operation.
As my understanding, in case of fail, this function should return "nil" surface
instead of NULL. So i suppose this spec should be:
Returns : a new cairo_surface_t initialized with the contents of the PNG file
or "nil" surface if the data read is not a valid PNG image or memory could
not be allocated for the operation.
Thank you very much for your time and please let me know any ruling/finding
that you may have.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic