Definition in file Value.cpp.
#include "mc/mcprec.h"
#include <wx/string.h>
#include "mc/MathUtils.h"
#include "mc/Value.h"
Include dependency graph for Value.cpp:
Go to the source code of this file.
Functions | |
void * | mcGMPAlloc (size_t n) |
Allocates n bytes and returns a pointer to the starting address of the allocated memory. | |
void | mcGMPFree (void *mem, size_t) |
Frees the given pointer of the given size. | |
void * | mcGMPRealloc (void *mem, size_t oldsize, size_t newsize) |
Reallocates the oldsz bytes pointed by p returning an address to newsz allocated bytes. |
|
Allocates n bytes and returns a pointer to the starting address of the allocated memory. Uses the NEW operator. Used by MathCore to enable GMP to use new and delete C++ operators. Definition at line 76 of file Value.cpp. Referenced by mcValue::Init(), and mcGMPRealloc(). |
|
Frees the given pointer of the given size. Uses the DELETE [] operator. Used by MathCore to enable GMP to use new and delete C++ operators. Definition at line 77 of file Value.cpp. Referenced by mcValue::Init(), and mcGMPRealloc(). |
|
Reallocates the oldsz bytes pointed by p returning an address to newsz allocated bytes. Uses NEW and DELETE []. Used by MathCore to enable GMP to use new and delete C++ operators. Definition at line 79 of file Value.cpp. References mcGMPAlloc(), mcGMPFree(), and mcMIN. Referenced by mcValue::Init(). |
[ Top ] |