Skip to content

Commit

Permalink
Add cookies to hash function handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspf committed Aug 20, 2018
1 parent cbff3bf commit e962967
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hashfunctions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e962967

Please sign in to comment.