spielwiese
Last change
on this file since 763bf07 was
45e70f,
checked in by Hans Schönemann <hannes@…>, 18 years ago
|
*hannes: solaris(__sparc) port
git-svn-id: file:///usr/local/Singular/svn/trunk@8479 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.0 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 | * Version: $Id: omAllocFunc.h,v 1.6 2005-07-29 10:56:45 Singular Exp $ |
---|
9 | *******************************************************************/ |
---|
10 | |
---|
11 | void* omCallocFunc(size_t nmemb, size_t size); |
---|
12 | void* omMallocFunc(size_t size); |
---|
13 | void omFreeFunc(void* addr); |
---|
14 | void* omVallocFunc(size_t size); |
---|
15 | #if defined(sgi) |
---|
16 | void* omMemalignFunc(size_t size_1, size_t size_2); |
---|
17 | #else |
---|
18 | #if defined(__sparc) |
---|
19 | extern void* omMemalignFunc(size_t, size_t); |
---|
20 | #else |
---|
21 | void* omMemalignFunc(void* alignment, size_t size); |
---|
22 | #endif |
---|
23 | #endif |
---|
24 | void* omReallocFunc(void* old_addr, size_t new_size); |
---|
25 | char* omStrdupFunc(const char* addr); |
---|
26 | void* omReallocSizeFunc(void* old_addr, size_t old_size, size_t new_size); |
---|
27 | void omFreeSizeFunc(void* addr, size_t size); |
---|
Note: See
TracBrowser
for help on using the repository browser.