Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| I have added an extern "C" for peek_event, but it seems friends are
| playing tricks on me ;)
| 
| --------from-math_panel.h------------------------
| extern "C" int peek_event(FL_FORM *, void *);
| 
| /// Class to manage bitmap menu bars
| class BitmapMenu {
|   ///
|    static BitmapMenu *active;
|    ///
|    friend int peek_event(FL_FORM *, void *);
| [...]
| -------------------------------------------------
| 
| What can I do?

extern "C" friend int peek_event(FL_FORM *, void *);

perhaps? have you tried that?

        Lgb

Reply via email to