Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# OgreMemoryMacros.h File Reference

Go to the source code of this file.

## Defines

#define | new new
#define | delete delete
#define | malloc(sz) ::Ogre::MemoryManager::sMemManager.allocMem( __FILE__, __LINE__, sz )
#define | free(ptr) ::Ogre::MemoryManager::sMemManager.dllocMem( __FILE__, __LINE__, ptr )
#define | realloc(ptr, sz) ::Ogre::MemoryManager::sMemManager.rllocMem( __FILE__, __LINE__, ptr, sz )
#define | calloc(cnt, sz) ::Ogre::MemoryManager::sMemManager.cllocMem( __FILE__, __LINE__, cnt, sz )

## Define Documentation

#define calloc | ( | cnt,
|  | sz |  | ) | ::Ogre::MemoryManager::sMemManager.cllocMem( __FILE__, __LINE__, cnt, sz )

| Definition at line 68 of file OgreMemoryMacros.h.

#define delete delete

| Definition at line 64 of file OgreMemoryMacros.h.

#define free | ( | ptr |  | ) | ::Ogre::MemoryManager::sMemManager.dllocMem( __FILE__, __LINE__, ptr )

| Definition at line 66 of file OgreMemoryMacros.h. Referenced by Ogre::MemoryManager::dllocMem(), Ogre::LoadIcon(), Ogre::Serializer::readBools(), Ogre::Serializer::writeBools(), Ogre::Serializer::writeInts(), Ogre::Serializer::writeLongs(), Ogre::Serializer::writeReals(), and Ogre::Serializer::writeShorts().

#define malloc | ( | sz |  | ) | ::Ogre::MemoryManager::sMemManager.allocMem( __FILE__, __LINE__, sz )

| Definition at line 65 of file OgreMemoryMacros.h. Referenced by Ogre::MemoryManager::allocMem(), Ogre::MemoryManager::cllocMem(), Ogre::GLXConfigurator::CreateBackdrop(), Ogre::LoadIcon(), Ogre::Serializer::readBools(), Ogre::Serializer::writeBools(), Ogre::Serializer::writeInts(), Ogre::Serializer::writeLongs(), Ogre::Serializer::writeReals(), and Ogre::Serializer::writeShorts().

#define new new

| Definition at line 63 of file OgreMemoryMacros.h. Referenced by Ogre::ControllerManager::ControllerManager(), and Ogre::SharedPtr< GpuProgramParameters >::SharedPtr().

#define realloc | ( | ptr,
|  | sz |  | ) | ::Ogre::MemoryManager::sMemManager.rllocMem( __FILE__, __LINE__, ptr, sz )

| Definition at line 67 of file OgreMemoryMacros.h. Referenced by Ogre::MemoryManager::rllocMem().

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:48:54 2004