]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lily-guile.hh
release: 1.1.1
[lilypond.git] / lily / include / lily-guile.hh
1 /*
2   lily-guile.hh encapsulate guile
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef LILY_GUILE_HH
10 #define LILY_GUILE_HH
11
12 #include "config.hh"
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 #ifdef HAVE_LIBGUILE
19 extern "C" { 
20 #include <guile/gh.h> 
21 }
22 #else
23 typedef long SCM;
24 #endif
25
26 SCM ly_append (SCM a, SCM b);
27 SCM ly_eval (SCM a);
28 SCM ly_func_o (char const* name);
29 SCM ly_lambda_o ();
30 SCM ly_list1 (SCM a);
31 SCM ly_list2(SCM a, SCM b);
32 SCM ly_quote ();
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #include "array.hh"
39 #include "scalar.hh"
40 SCM lambda_scm (String str, Array<Real> args_arr);
41 SCM lambda_scm (String str, Array<Scalar> args_arr);
42
43
44
45
46 #endif // LILY_GUILE_HH