PATCHES - Countdown to January 8

2024-01-05 Thread Colin Campbell
Here is the current countdown report. The next countdown will begin on 2024-01-08 A list of all merge requests can be found here: https://gitlab.com/lilypond/lilypond/-/merge_requests?sort=label_priority Push: !2221 Rename time signature style `single-digit` to `single-number` - Werner

Re: how to assign a Scheme procedure to an SCM variable?

2024-01-05 Thread Werner LEMBERG
> You can't -- scm_boolean_p is a C function, not a Guile function. > (It's sort of like trying to access a chocolate as a chocolate box.) > What you can do is to import boolean? from Guile using > lily-imports.cc. That worked, thanks! Werner

Re: how to assign a Scheme procedure to an SCM variable?

2024-01-05 Thread Jean Abou Samra
You can't -- scm_boolean_p is a C function, not a Guile function. (It's sort of like trying to access a chocolate as a chocolate box.) What you can do is to import boolean? from Guile using lily-imports.cc. signature.asc Description: This is a digitally signed message part

how to assign a Scheme procedure to an SCM variable?

2024-01-05 Thread Werner LEMBERG
Folks, I ask for help with a Guile question. Naively, I tried ``` SCM proc = scm_boolean_p; ``` However, this bombs out with ``` error: cannot convert 'scm_unused_struct* (*)(SCM)' {aka 'scm_unused_struct* (*)(scm_unused_struct*)'} to 'SCM' {aka 'scm_unused_struct*'} ```