gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
MallocUtils.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef MALLOC_UTILS_H
7 #define MALLOC_UTILS_H
8 
9 #include <stdlib.h>
10 
11 void *Malloc(size_t size);
12 void *Calloc(size_t num, size_t size);
13 void *Realloc(void *ptr, size_t size);
14 void Free(void *ptr);
15 
16 #endif
Calloc
void * Calloc(size_t num, size_t size)
Definition: MallocUtils.cpp:22
Realloc
void * Realloc(void *ptr, size_t size)
Definition: MallocUtils.cpp:32
Free
void Free(void *ptr)
Definition: MallocUtils.cpp:40
Malloc
void * Malloc(size_t size)
Definition: MallocUtils.cpp:12