Branch: Tag:

2016-03-09

2016-03-09 21:07:25 by Martin Nilsson <nilsson@fastmail.com>

Change the _random interface to provide rnadom_string and random from the called random object.

2262:    ADD_FUNCTION("popcount", mpzmod_popcount,tFunc(tVoid,tInt), 0); \    ADD_FUNCTION("hamdist", mpzmod_hamdist,tFunc(tMpz_arg,tInt), 0); \    \ -  ADD_FUNCTION("_random",mpzmod_random,tFunc(tNone,tMpz_ret),0); \ +  ADD_FUNCTION("_random",mpzmod_random,tFunc(tFunction tFunction,tMpz_ret),0); \    \    ADD_FUNCTION("_encode",mpzmod__encode,tFunc(tNone,tStr8),0); \    \