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) Matthias Melcher 09:56 May 07  
 

At the bottom of the header file are unrolled macros and the line that creates them. It's very similar to how lambdas are implemented in C++. No need to understand them. I am sure we will see issues over time that need to be fixed. Biggest issue for me is that they do compile for everyone.

1: the do while is a common trick to make the trailing semicolon in macros language compatible. That's all, nothing else.
2: yeah, possible, sure
3: sigh, even though I proof read my stuff :-/


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/c1537492176@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'.