equal
deleted
inserted
replaced
24 |
24 |
25 #ifndef SHARE_VM_UTILITIES_RESOURCEHASH_HPP |
25 #ifndef SHARE_VM_UTILITIES_RESOURCEHASH_HPP |
26 #define SHARE_VM_UTILITIES_RESOURCEHASH_HPP |
26 #define SHARE_VM_UTILITIES_RESOURCEHASH_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "utilities/top.hpp" |
|
30 |
29 |
31 template<typename K> struct ResourceHashtableFns { |
30 template<typename K> struct ResourceHashtableFns { |
32 typedef unsigned (*hash_fn)(K const&); |
31 typedef unsigned (*hash_fn)(K const&); |
33 typedef bool (*equals_fn)(K const&, K const&); |
32 typedef bool (*equals_fn)(K const&, K const&); |
34 }; |
33 }; |