PATCHES - Countdown to September 5

2022-09-02 Thread Colin Campbell
Here is the current countdown report. The next countdown will begin on September 5th. A list of all merge requests can be found here: https://gitlab.com/lilypond/lilypond/-/merge_requests?sort=label_priority Push: No patches in Push at this time. Countdown: !1593 Add

Re: A more automated LY_DEFINE?

2022-09-02 Thread Dan Eble
On Sep 2, 2022, at 04:42, Jean Abou Samra wrote: > > Does C++ provide tools for making this simpler? I'm thinking that something > like > > LY_DEFINE (ly_grob_relative_coordinate, ..., (Grob *g, Grob *refp, Axis a), > ...) > { > ... > return ret; > } > > would be equivalent to > >

Re: A more automated LY_DEFINE?

2022-09-02 Thread Jean Abou Samra
Le 02/09/2022 à 13:17, Dan Eble a écrit : On Sep 2, 2022, at 04:42, Jean Abou Samra wrote: Does C++ provide tools for making this simpler? I'm thinking that something like LY_DEFINE (ly_grob_relative_coordinate, ..., (Grob *g, Grob *refp, Axis a), ...) { ... return ret; } would be

A more automated LY_DEFINE?

2022-09-02 Thread Jean Abou Samra
Hi, Right now, the most common pattern for a LY_DEFINE is somewhat repetitive: LY_DEFINE (ly_name, "ly:name",    req, opt, var, (SCM arg1, SCM arg2, ...),    R"(doc...)") {   LY_ASSERT_TYPE (is_scm (arg1), 1);   Cpp_type arg1_cpp = from_scm (arg1);   auto *const smob =