2 scm-hash.hh -- declare Scheme hasher.
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "lily-guile.hh"
14 #include "hash-table.hh"
18 auto resizing hash table. This should come from GUILE.
20 class Scheme_hash_table : private Hash_table<SCM,SCM>
23 // bool elem_b (SCM k) const;
24 Hash_table<SCM,SCM>::try_retrieve;
25 Hash_table<SCM,SCM>::elem_b;
27 WARNING: putting something in assumes responsibility for cleaning
29 void set (SCM k, SCM v);
30 SCM get (SCM k) const;
33 void operator = (Scheme_hash_table const &);
34 Scheme_hash_table (Scheme_hash_table const &);
35 virtual ~Scheme_hash_table ();
37 SCM to_alist () const;
40 #endif /* SCM_HASH_HH */