X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffunction-documentation.cc;h=cbb6035038c9ebde2fa070a5f7f2439fe94cc212;hb=17463ba49a755dca5682ba18af450c198d94e050;hp=d8e4ddc33b4cc08739c38256259c2c2248014146;hpb=3f8485925e8c879fe4c9ae86acef9804126c3b91;p=lilypond.git diff --git a/lily/function-documentation.cc b/lily/function-documentation.cc index d8e4ddc33b..cbb6035038 100644 --- a/lily/function-documentation.cc +++ b/lily/function-documentation.cc @@ -1,9 +1,20 @@ /* - function-documentation.cc -- Scheme doc strings. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2010 Han-Wen Nienhuys - (c) 2004--2007 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include @@ -50,7 +61,7 @@ ly_add_function_documentation (SCM func, LY_DEFINE (ly_get_all_function_documentation, "ly:get-all-function-documentation", 0, 0, 0, (), - "Get a hash table with all lilypond Scheme extension functions.") + "Get a hash table with all LilyPond Scheme extension functions.") { return doc_hash_table; } @@ -95,6 +106,7 @@ init_func_doc () ly_add_type_predicate ((void*) &is_direction, "direction"); ly_add_type_predicate ((void*) &is_music_function, "Music_function"); ly_add_type_predicate ((void*) &ly_is_port, "port"); + ly_add_type_predicate ((void*) &ly_cheap_is_list, "list"); ly_add_type_predicate ((void*) &unsmob_global_context, "Global_context"); ly_add_type_predicate ((void*) &unsmob_input, "Input"); ly_add_type_predicate ((void*) &unsmob_moment, "Moment");