X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffunction-documentation.cc;h=5e57203fc2e55902e654d99e79ef1f5589c1f8ce;hb=029ae298e4c56984889a7fe47dbbc58f6c7055f4;hp=dc05bb308883b975d382f0879d1fab790a26e15c;hpb=e7020dbb36a9e9c10bda48e5197213e8a3bacef6;p=lilypond.git diff --git a/lily/function-documentation.cc b/lily/function-documentation.cc index dc05bb3088..5e57203fc2 100644 --- a/lily/function-documentation.cc +++ b/lily/function-documentation.cc @@ -1,15 +1,14 @@ /* - function-documentation.cc -- + function-documentation.cc -- Scheme doc strings. source file of the GNU LilyPond music typesetter - (c) 2004 Han-Wen Nienhuys + (c) 2004--2005 Han-Wen Nienhuys */ -#include +#include -#include "lily-guile.hh" #include "protected-scm.hh" #include "string.hh" @@ -21,9 +20,9 @@ void ly_add_function_documentation (SCM func, char const * doc) { if (!strlen (doc)) - return ; + return; - if (!ly_c_vector_p (doc_hash_table )) + if (!scm_is_vector (doc_hash_table)) doc_hash_table = scm_make_vector (scm_int2num (59), SCM_EOL); String s = String (" - ") + "LilyPond procedure: " + fname + " " + varlist @@ -37,7 +36,7 @@ void ly_add_function_documentation (SCM func, LY_DEFINE (ly_get_all_function_documentation, "ly:get-all-function-documentation", - 0,0,0, (), + 0, 0, 0, (), "Get a hash table with all lilypond Scheme extension functions.") { return doc_hash_table;