X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftranslator-ctors.cc;h=1368e7376246dfd2dd224633863995879e638f9c;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=b190a927c7a0506963ce52a8e5e92bd4dbe3d0f8;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/lily/translator-ctors.cc b/lily/translator-ctors.cc index b190a927c7..1368e73762 100644 --- a/lily/translator-ctors.cc +++ b/lily/translator-ctors.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,8 +30,8 @@ Scheme_hash_table *global_translator_dict = 0; LY_DEFINE (get_all_translators, "ly:get-all-translators", 0, 0, 0, (), - "Return a list of all translator objects that may be" - " instantiated.") + "Return a list of all translator objects that may be" + " instantiated.") { SCM l = global_translator_dict ? global_translator_dict->to_alist () : SCM_EOL; @@ -66,6 +66,6 @@ get_translator (SCM sym) return 0; } - return unsmob_translator (v); + return Translator::unsmob (v); }