]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/parse-scm.hh
clean up Sources
[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 extern bool parsed_objects_should_be_dead;
17
18 struct Parse_start
19 {
20   char const *str;
21   int nchars;
22   Input start_location_;
23   bool safe_;
24 };
25
26 SCM catch_protected_parse_body (void *);
27 SCM protected_ly_parse_scm (Parse_start *, bool);
28 SCM ly_parse_scm (char const *, int *, Input, bool);
29
30 #endif /* PARSE_SCM_HH */