mp_get_memory_functions.c File Reference

#include <gmp.h>

Go to the source code of this file.

Functions

void mp_get_memory_functions (void *(**alloc_func_ptr)(size_t), void *(**realloc_func_ptr)(void *, size_t, size_t), void(**free_func_ptr)(void *, size_t))


Function Documentation

void mp_get_memory_functions ( void *(**)(size_t)  alloc_func_ptr,
void *(**)(void *, size_t, size_t)  realloc_func_ptr,
void(**)(void *, size_t)  free_func_ptr 
)

Definition at line 3 of file mp_get_memory_functions.c.

00007 {
00008         if (alloc_func_ptr)
00009                 *alloc_func_ptr = __gmp_allocate_func;
00010         if (realloc_func_ptr)
00011                 *realloc_func_ptr = __gmp_reallocate_func;
00012         if (free_func_ptr)
00013                 *free_func_ptr = __gmp_free_func;
00014 }


Generated on Fri Jul 17 16:32:58 2009 for CLooG / ISL by  doxygen 1.5.9