Re: Gtk 1.162 build issues under win32

Yep, moving the statement up one line did the trick.


muppet wrote:
 Try changing the code to this:

    static void
    gtk2perl_pango_cairo_shape_renderer_func (cairo_t *cr,
                                              PangoAttrShape * attr,
                                              gboolean do_path,
                                              gpointer data)
GPerlCallback * callback = data; /* Do this first in case the next macro ends with a statement */


This should give the same effect as what you did with changing the argument's type, but will not require casting the function pointer at its points of use, and will verify the theory that something about the expansion of dGPERL_CALLBACK_MARSHAL_SP is amiss.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]