]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4398/3: Move the protection of all_fonts_global to Protected_scm
authorDavid Kastrup <dak@gnu.org>
Thu, 14 May 2015 18:50:57 +0000 (20:50 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 21 May 2015 18:29:54 +0000 (20:29 +0200)
commit68926767412d644f03b3200058baca5d8c929991
treef461069948a86b9019251e3f8a877aea0f2f2713
parent33e8458abc40b7b8b71ab0b3446382b1495a1489
Issue 4398/3: Move the protection of all_fonts_global to Protected_scm

Previously, this abused the protect/unprotect mechanism only intended
for temporary protection.

Also turns All_font_metrics into a Scheme Smob.
lily/all-font-metrics-scheme.cc
lily/all-font-metrics.cc
lily/include/all-font-metrics.hh