[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 28060] New: documentation error for
From:       bugzilla-daemon () freedesktop ! org
Date:       2010-05-11 9:16:26
Message-ID: bug-28060-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

https://bugs.freedesktop.org/show_bug.cgi?id=28060

           Summary: documentation error for cairo_write_func_t
                    description; missing "const"
           Product: cairo
           Version: 1.9.7
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: png functions
        AssignedTo: cworth@cworth.org
        ReportedBy: benkasminbullock@gmail.com
         QAContact: cairo-bugs@cairographics.org


As seen on the Cairo webpages,

http://cairographics.org/manual/cairo-png-functions.html

the type "cairo_write_func_t" is described as follows:

cairo_status_t      (*cairo_write_func_t)               (void *closure,
                                                         unsigned char *data,
                                                         unsigned int length);

However, using this for the callback caused a compiler warning. Looking at the
header file, the second argument should be "const unsigned char * data".

-- 
Configure bugmail: https://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