memory_manager.cpp File Reference


Detailed Description

A new memory manager

Id
memory_manager.cpp,v 1.8 2004/01/15 17:37:36 lecroart Exp

Definition in file memory_manager.cpp.

#include <stl/_site_config.h>
#include "nel/memory/memory_manager.h"
#include "memory_common.h"
#include "heap_allocator.h"

Go to the source code of this file.

Namespaces

namespace  NLMEMORY

Defines

#define new   NL_NEW

Functions

 __declspec (dllimport) void *NelMemoryAllocate(unsigned int size)

Variables

const char * filename
const char uint line


Define Documentation

#define new   NL_NEW
 


Function Documentation

__declspec dllimport   ) 
 

Definition at line 287 of file memory_manager.cpp.

References MEMORY_API, and size.

00288 {
00289 #ifndef NL_HEAP_ALLOCATION_NDEBUG
00290         return NLMEMORY::GlobalHeapAllocator->allocate (size, "", 0, 0);
00291 #else // NL_HEAP_ALLOCATION_NDEBUG
00292         return NLMEMORY::GlobalHeapAllocator->allocate (size);
00293 #endif // NL_HEAP_ALLOCATION_NDEBUG
00294 }


Variable Documentation

const char* filename
 

Definition at line 296 of file memory_manager.cpp.

const char uint line
 

Definition at line 296 of file memory_manager.cpp.


Generated on Tue Mar 16 06:42:58 2004 for NeL by doxygen 1.3.6