/*
- function-documentation.cc --
+ function-documentation.cc -- Scheme doc strings.
source file of the GNU LilyPond music typesetter
- (c) 2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
-#include <string.h>
+#include <cstring>
-#include "lily-guile.hh"
#include "protected-scm.hh"
#include "string.hh"
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
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;