[cairo] Declaration problem with '_cairo_win32_font_face_destroy()'

John Emmas johne53 at tiscali.co.uk
Sun Oct 6 01:35:27 PDT 2013


Hello all,

I just pulled in the latest version of Cairo (from git) and came across 
the following problem when trying to build with MSVC:-

At line 1953 of cairo-win32-font.c, the function definition for 
'_cairo_win32_font_face_destroy()' has been changed slightly.  It now 
returns 'static cairo_bool_t' - i.e.

       static cairo_bool_t
       _cairo_win32_font_face_destroy (void *abstract_face)
       {
             // Function body
             return TRUE;
       ]

However, at line 160, the actual declaration of 
'_cairo_win32_font_face_destroy()'  hasn't been changed.  It's still 
declared as returning 'static void'.  Any chance of fixing this soon?  
Apart from that, everything else seems okay.  Many thanks.

John Emmas


More information about the cairo mailing list