]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/parse-scm.hh
* The grand 2005-2006 replace.
[lilypond.git] / lily / include / parse-scm.hh
1 /*
2   lily-guile.hh encapsulate guile
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef PARSE_SCM_HH
10 #define PARSE_SCM_HH
11
12 #include "input.hh"
13 #include "lily-guile.hh"
14
15 extern bool parse_protect_global;
16
17 struct Parse_start
18 {
19   char const *str;
20   int nchars;
21   Input start_location_;
22   bool safe_;
23 };
24
25 SCM catch_protected_parse_body (void *);
26 SCM protected_ly_parse_scm (Parse_start *, bool);
27 SCM ly_parse_scm (char const *, int *, Input, bool);
28
29 #endif /* PARSE_SCM_HH */