source: git/omalloc/omAllocFunc.h @ 6ce030f

spielwiese
Last change on this file since 6ce030f was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*******************************************************************
2 *  File:    omAllocFunc.h
3 *  Purpose: declaration of ANSI-C conforming malloc functions
4 *           which are sure to be functions, which start with the om prefix,
5 *           and end with the Func suffix.
6 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
7 *  Created: 11/99
8 *******************************************************************/
9
10void* omCallocFunc(size_t nmemb, size_t size);
11void* omMallocFunc(size_t size);
12void omFreeFunc(void* addr);
13void* omVallocFunc(size_t size);
14#if defined(sgi)
15void* omMemalignFunc(size_t size_1, size_t size_2);
16#else
17#if (defined(__sun) && (defined(__sparc) || defined(__i386) || defined(__x86_64)) || defined(__CYGWIN__))
18extern void* omMemalignFunc(size_t, size_t);
19#else
20void* omMemalignFunc(void* alignment, size_t size);
21#endif
22#endif
23void* omReallocFunc(void* old_addr, size_t new_size);
24char* omStrdupFunc(const char* addr);
25void* omReallocSizeFunc(void* old_addr, size_t old_size, size_t new_size);
26void omFreeSizeFunc(void* addr, size_t size);
Note: See TracBrowser for help on using the repository browser.