OROCHI
 
Loading...
Searching...
No Matches
GxAllocatorDefault.h File Reference

ディフォルトアロケータクラス More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GxAllocatorDefault
 ディフォルトアロケータクラス More...
 

Macros

#define GX_ALLOCATOR_DEFAULT_SIZE(__size)
 

Functions

GX_FORCE_INLINE GxAllocatorDefault & GxAllocatorDefault (void)
 

Detailed Description

ディフォルトアロケータクラス

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Takashi Taketa
Tahir Arai

Macro Definition Documentation

◆ GX_ALLOCATOR_DEFAULT_SIZE

#define GX_ALLOCATOR_DEFAULT_SIZE ( __size)
Value:
void GxAllocatorDefault::initialize(void** ppBuffer, u32& size) \
{ \
const u32 bufferSize = __size; \
static u8 buffer[bufferSize]; \
size = bufferSize; \
*ppBuffer = static_cast<void*>(buffer); \
}