allocation functions

Torbjorn Granlund
18 Dec 2002 23:12:08 +0100

Kevin Ryde <> writes:

  > In the future, non-documented GMP names might not be
  > accessible from user code.
  Yes, per other message I think we can get those declarations out of
  gmp.h for a start.
A good idea.  Perhaps add that to tasks.html?

  > If a user have changed the functions, by means of
  > mp_set_memory_functions, the supplied `free' functions must
  > be used.
  I guess third party libraries, or other self contained modules, could
  benefit from an mp_get_memory_functions, so they can find the right
  free function without knowing what "main()" is going to setup.

OK, so let's a that!