Skip to content

Use from_scm for numbers

Jean Abou Samra requested to merge jeanas/lilypond:from-scm-numbers into master

The most commonly used syntax for converting SCM to C++ types is from_scm, and it spares remembering lots of function names. This commit does the search&replace conversions:

scm_to_double → from_scm<double>
scm_to_int    → from_scm<int>

With this change and !1542 (merged), few callers of scm_to_* and scm_from_* functions remain.

Merge request reports