Main MRPT website > C++ reference for MRPT 1.5.5
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.


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


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,
)    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.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019