]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/scm-hash.hh
a0382d0446b918f0fd9ee16c2928e17ac4a9e394
[lilypond.git] / lily / include / scm-hash.hh
1 /*   
2   scm-hash.hh -- declare Scheme hasher.
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef SCM_HASH_HH
11 #define SCM_HASH_HH
12
13 #include "lily-guile.hh"
14 #include "hash-table.hh"
15 #include "smobs.hh"
16
17 /**
18    auto resizing hash table. This should come from GUILE.
19  */
20 class Scheme_hash_table : public Hash_table<SCM,SCM>
21 {
22 public:  
23   Scheme_hash_table ();
24   void operator = (Scheme_hash_table const &); 
25   Scheme_hash_table (Scheme_hash_table const &);
26   virtual ~Scheme_hash_table ();
27   DECLARE_SMOBS;
28   SCM to_alist () const;
29 };
30
31 #endif /* SCM_HASH_HH */
32