Minor tweaks, including a few small performance improvements

darcs-hash:20060204130914-ac50b-331e83fd8fe472545fce60fc4b76bb8300526d64.gz
This commit is contained in:
axel
2006-02-04 23:09:14 +10:00
parent 9f3a7543aa
commit 4f947015d2
11 changed files with 93 additions and 48 deletions

14
util.h
View File

@@ -298,6 +298,20 @@ int hash_wcs_func( const void *data );
int hash_wcs_cmp( const void *a,
const void *b );
/**
Hash function suitable for direct pointer comparison
*/
int hash_ptr_func( const void *data );
/**
Hash comparison function suitable for direct pointer comparison
*/
int hash_ptr_cmp( const void *a,
const void *b );
/**
Initialize the priority queue