2 stencil-expression.cc -- keep track of which expressions are valid
5 source file of the GNU LilyPond music typesetter
7 (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
12 #include "protected-scm.hh"
14 static Protected_scm heads = SCM_EOL;
16 void register_stencil_head (SCM symbol)
18 scm_set_object_property_x (symbol, ly_symbol2scm ("stencil-head?"), SCM_BOOL_T);
19 heads = scm_cons (symbol, heads);
22 is_stencil_head (SCM symbol)
24 return scm_object_property (symbol, ly_symbol2scm ("stencil-head?"))