* python/lilylib.py (setup_temp): temporary directories are mode 700.
[lilypond.git] / lily / group-interface.cc
blobb7b45ecf7ffb468099bf416646ea34e400eafa1a
1 /*
2 group-interface.cc -- implement Group_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9 #include "group-interface.hh"
10 #include "grob.hh"
12 void
13 Group_interface::add_thing (Grob*me, SCM sym, SCM thing)
15 me->add_to_list_property (sym, thing);
19 void
20 Group_interface::add_thing (Grob*me, String name, SCM thing)
22 add_thing (me, ly_symbol2scm (name.to_str0 ()), thing);
25 int
26 Group_interface::count (Grob *me, String name)
28 return scm_ilength (me->get_grob_property (name.to_str0 ()));
32 void
33 Pointer_group_interface::add_grob (Grob*me, SCM name, Grob*p)
35 Group_interface::add_thing (me, name, p->self_scm ());