2 lily-guile.cc -- implement assorted guile functions
4 source file of the GNU LilyPond music typesetter
6 (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
9 #include "lily-guile.hh"
16 gh_append (SCM a, SCM b)
18 return gh_call2 (gh_eval_str ("append"), a, b);
24 return gh_call1 (gh_eval_str ("list"), a);
28 gh_list2(SCM a, SCM b)
30 return gh_call2 (gh_eval_str ("list"), a, b);
36 return gh_eval_str ("'quote");
42 return gh_call1 (gh_eval_str ("eval"), a);
48 return gh_eval_str ("'(lambda (o))");
52 gh_func_o (char const* name)
55 snprintf (buf, 200, "'(%s o)", name);
56 return gh_eval_str (buf);