~ubuntu-branches/debian/squeeze/freeciv/squeeze

« back to all changes in this revision

Viewing changes to utility/hash.h

  • Committer: Bazaar Package Importer
  • Author(s): Karl Goetz
  • Date: 2010-06-05 20:54:23 UTC
  • mfrom: (1.2.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100605205423-k8214w6arwvu1wt0
Tags: 2.2.1-1
* New upstream release, thanks Ansgar Burchardt for help preparing
the package (Closes: 584589)
* Use 'Arrange widgets for small screens' by default
* Fix package dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
unsigned int hash_fval_string(const void *vkey, unsigned int num_buckets);
33
33
int hash_fcmp_string(const void *vkey1, const void *vkey2);
34
34
 
35
 
/* Appropriate for int values: */
36
 
unsigned int hash_fval_int(const void *vkey, unsigned int num_buckets);
37
 
int hash_fcmp_int(const void *vkey1, const void *vkey2);
38
 
 
39
35
/* Appropriate for void pointers or casted longs, used as keys
40
36
   directly instead of by reference. */
41
37
unsigned int hash_fval_keyval(const void *vkey, unsigned int num_buckets);