Main MRPT website > C++ reference for MRPT 1.5.9
Macros | Functions
xsmalloc.h File Reference
#include "xstypesconfig.h"
#include <stddef.h>
Include dependency graph for xsmalloc.h:

Go to the source code of this file.

Macros

#define xsMathMalloc(n)   xsAlignedMalloc(n)
 
#define xsMathRealloc(p, n)   xsAlignedRealloc(p,n)
 
#define xsMathFree(p)   xsAlignedFree(p)
 

Functions

XSTYPES_DLL_API voidxsMalloc (size_t sz)
 
XSTYPES_DLL_API voidxsRealloc (void *ptr, size_t sz)
 
XSTYPES_DLL_API void xsFree (void *ptr)
 
XSTYPES_DLL_API voidxsAlignedMalloc (size_t sz)
 
XSTYPES_DLL_API voidxsAlignedRealloc (void *ptr, size_t sz)
 
XSTYPES_DLL_API void xsAlignedFree (void *ptr)
 

Macro Definition Documentation

◆ xsMathFree

#define xsMathFree (   p)    xsAlignedFree(p)

Definition at line 36 of file xsmalloc.h.

◆ xsMathMalloc

#define xsMathMalloc (   n)    xsAlignedMalloc(n)

Definition at line 28 of file xsmalloc.h.

◆ xsMathRealloc

#define xsMathRealloc (   p,
  n 
)    xsAlignedRealloc(p,n)

Definition at line 32 of file xsmalloc.h.

Function Documentation

◆ xsAlignedFree()

XSTYPES_DLL_API void xsAlignedFree ( void ptr)

◆ xsAlignedMalloc()

XSTYPES_DLL_API void* xsAlignedMalloc ( size_t  sz)

◆ xsAlignedRealloc()

XSTYPES_DLL_API void* xsAlignedRealloc ( void ptr,
size_t  sz 
)

◆ xsFree()

XSTYPES_DLL_API void xsFree ( void ptr)

◆ xsMalloc()

XSTYPES_DLL_API void* xsMalloc ( size_t  sz)

◆ xsRealloc()

XSTYPES_DLL_API void* xsRealloc ( void ptr,
size_t  sz 
)



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020