mmalloc.h
Go to the documentation of this file.
1 #ifndef MMEMORY_H
2 #define MMEMORY_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT: declaration of routines for memory stuff
8 */
9 
10 #include <stdlib.h>
11 
12 #undef reallocSize
13 #undef freeSize
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif
19  void* reallocSize(void* old_addr, size_t old_size, size_t new_size);
20  void freeSize(void* addr, size_t size);
21 #ifdef __cplusplus
22 }
23 #endif
24 #endif
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition: cf_ops.cc:600
void * reallocSize(void *old_addr, size_t old_size, size_t new_size)
Definition: omalloc.c:107
void freeSize(void *addr, size_t size)
Definition: omalloc.c:102