diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-08-01 16:44:09 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-08-01 16:44:09 +0200 |
commit | b85a10cc13b9f6b7d0405dd3a00ef5797b3ada60 (patch) | |
tree | 5c5334d7b8c1fb3240c39cbc0e554a7dadc84f80 | |
parent | 4ed45f6f32dcb8712501d38a44ec754d4937a26e (diff) | |
download | libgee-b85a10cc13b9f6b7d0405dd3a00ef5797b3ada60.tar.gz |
Add more missing generic type arguments
-rw-r--r-- | gee/functions.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gee/functions.vala b/gee/functions.vala index dcd1c56..c391c5f 100644 --- a/gee/functions.vala +++ b/gee/functions.vala @@ -46,7 +46,7 @@ namespace Gee { * * @return the equality testing function corresponding to the given type. */ - public static EqualDataFunc get_equal_func_for (Type t) { + public static EqualDataFunc<void*> get_equal_func_for (Type t) { if (t == typeof (string)) { return (a, b) => { if (a == b) @@ -85,7 +85,7 @@ namespace Gee { * * @return the hash function corresponding to the given type. */ - public static HashDataFunc get_hash_func_for (Type t) { + public static HashDataFunc<void*> get_hash_func_for (Type t) { if (t == typeof (string)) { return (a) => { if (a == null) @@ -112,7 +112,7 @@ namespace Gee { * * @return the comparator function corresponding to the given type. */ - public static CompareDataFunc get_compare_func_for (Type t) { + public static CompareDataFunc<void*> get_compare_func_for (Type t) { if (t == typeof (string)) { return (a, b) => { if (a == b) |