From e96296780a905812a68cce47434cdb0fba95c9be Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Tue, 14 Aug 2018 23:54:57 +0100 Subject: [PATCH] Add cookies to hash function handlers --- src/hashfunctions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hashfunctions.c b/src/hashfunctions.c index 5619967..8c68dd2 100644 --- a/src/hashfunctions.c +++ b/src/hashfunctions.c @@ -310,6 +310,10 @@ static Int InitLibrary(void) // be wrapped in a list by GAP Obj gvar = NewFunctionC("DATA_HASH_FUNC_RECURSIVE", -1, "arg", DATA_HASH_FUNC_RECURSIVE1); + InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE1, __FILE__ ":DATA_HASH_FUNC_RECURSIVE1" ); + InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE2, __FILE__ ":DATA_HASH_FUNC_RECURSIVE2" ); + InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE3, __FILE__ ":DATA_HASH_FUNC_RECURSIVE3" ); + InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE4, __FILE__ ":DATA_HASH_FUNC_RECURSIVE4" ); SET_HDLR_FUNC(gvar, 1, DATA_HASH_FUNC_RECURSIVE1); SET_HDLR_FUNC(gvar, 2, DATA_HASH_FUNC_RECURSIVE2); SET_HDLR_FUNC(gvar, 3, DATA_HASH_FUNC_RECURSIVE3);