kmemory.h File Reference
Detailed Description
Definition in file kmemory.h.
#include <fbxfilesdk/components/kbaselib/kbaselib_h.h>
#include <string.h>
#include <stdlib.h>
#include <fbxfilesdk/fbxfilesdk_nsbegin.h>
#include <fbxfilesdk/fbxfilesdk_nsend.h>
Go to the source code of this
file.
Define Documentation
Allocation routines debug Standard allocation.
Definition at line 89 of file kmemory.h.
 
 
| #define kMalloc | 
( | 
pSize  | 
 | 
 )  | 
   malloc( pSize ) | 
 
Allocation routines Standard allocation.
Definition at line 59 of file kmemory.h.
 
 
Function Documentation
| KFBX_DLL void kFreeAligned | 
( | 
void *  | 
pAlignedPtr | 
 )  | 
 | 
 
Aligned memory deallocation.
- Parameters:
 
- 
 
- Returns:
 
- KFBX_DLL void
 
 
 
| KFBX_DLL void* kMallocAligned | 
( | 
kSizeT  | 
pSize, | 
 | 
 | 
kUInt  | 
pAlignement =
KMEMORY_DEFAULTALIGNEMENT | 
  | 
 | 
) | 
 | 
 | 
 | 
 
Aligned memory allocation.
- Parameters:
 
- 
 | 
pSize  | 
Memory block size. | 
 | 
pAlignement  | 
Alignment window or width. | 
 
- Returns:
 
- the allocated memory block. (Used to free the block).
 
 
 
| KFBX_DLL void* kReallocAligned | 
( | 
void *  | 
pAlignedPtr, | 
 | 
 | 
kSizeT  | 
pSize, | 
 | 
 | 
kUInt  | 
pAlignement =
KMEMORY_DEFAULTALIGNEMENT | 
  | 
 | 
) | 
 | 
 | 
 | 
 
Aligned memory reallocation.
- Parameters:
 
- 
 | 
pAlignedPtr  | 
Previously aligned block | 
 | 
pSize  | 
Memory block size. | 
 | 
pAlignement  | 
Alignment window or width. | 
 
- Returns:
 
- the reallocated memory block. (Used to free the block).