FLTK logo

Re: [fltk/fltk] Improve yet compatible widget callback (PR #729)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Improve yet compatible widget callback (PR #729) ManoloFLTK 05:52 May 09  
 

Macro FL_FUNCTION_CALLBACK seems to fill a need that occurs often where the user has to define a structure type to transmit several values to a callback function. I would believe that what happens exactly when a shallow copy of argument values is performed needs be documented.

I'm puzzled by the 2nd parameter of macro FL_INLINE_CALLBACK about which the user is told "The function body is limited to a syntax that the macro preprocessor can handle." To me, it would seem necessary to define clearly what code is admissible in such function body. Without this, the macro becomes unusable.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/729/c1540064534@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.