soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
soui_mem_wrapper.cpp
1#include "soui_mem_wrapper.h"
2#include <malloc.h>
3#include "utilities-def.h"
4
5namespace SOUI
6{
7
8 void * soui_mem_wrapper::SouiMalloc( size_t szMem )
9 {
10 return malloc(szMem);
11 }
12
13 void * soui_mem_wrapper::SouiRealloc( void *p,size_t szMem )
14 {
15 return realloc(p,szMem);
16 }
17
18 void * soui_mem_wrapper::SouiCalloc( size_t count, size_t szEle )
19 {
20 return calloc(count,szEle);
21 }
22
23 void soui_mem_wrapper::SouiFree( void *p )
24 {
25 free(p);
26 }
27
28
29}