[libgee] Add more missing generic type arguments



commit b85a10cc13b9f6b7d0405dd3a00ef5797b3ada60
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Aug 1 16:44:09 2022 +0200

    Add more missing generic type arguments

 gee/functions.vala | 6 +++---
 1 file 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]