[Top][All Lists]

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

[XForms] fl_set_form_callback problem

From: vwf
Subject: [XForms] fl_set_form_callback problem
Date: Tue, 2 Nov 2010 11:29:08 +0100
User-agent: Mutt/1.5.18 (2008-05-17)


I have a problem with arguments.  XForms has a routine
fl_set_object_callback that is defined like:

void fl_set_form_callback(FL_FORM *form,
        void (*callback)(FL_OBJECT *, void *),
        void *data);

In my old program, that is in the process of rewriting, I bound:
        fl_set_form_callback(thisone, LogState, 0);

I cannot make the compiler stop warning when I try to bind the callback
in my reworked program. Who knows the correct way?

Thank you,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]