source: git/Singular/mmalloc.h @ 0df59c8

spielwiese
Last change on this file since 0df59c8 was 715936, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: omalloc should be configured with with-external-config_h=../Singular/omSingularConfig.h (?) FIX: moved memory management to Singular/ FIX: mmstd.c should not provide mm/c/v -alloc & free (recursion problem!)
  • Property mode set to 100644
File size: 496 bytes
Line 
1#ifndef MMEMORY_H
2#define MMEMORY_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT: declaration of routines for memory stuff
9*/
10
11#include <stdlib.h>
12
13int mmInit(void);
14#undef reallocSize
15#undef freeSize
16
17#ifdef __cplusplus
18extern "C"
19{
20#endif
21  void* reallocSize(void* old_addr, size_t old_size, size_t new_size);
22  void  freeSize(void* addr, size_t size);
23#ifdef __cplusplus
24}
25#endif
26#endif
Note: See TracBrowser for help on using the repository browser.