Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsMemory Class Reference

#include <nsMemory.h>

List of all members.

Detailed Description

Static helper routines to manage memory. These routines allow easy access to xpcom's built-in (global) nsIMemory implementation, without needing to go through the service manager to get it. However this requires clients to link with the xpcom DLL.

This class is not threadsafe and is intented for use only on the main thread.

Definition at line 63 of file nsMemory.h.

Static Public Member Functions

static NS_COM void * Alloc (size_t size)
static NS_COM void * Clone (const void *ptr, size_t size)
static NS_COM void Free (void *ptr)
static NS_COM nsIMemoryGetGlobalMemoryService ()
static NS_COM nsresult HeapMinimize (PRBool aImmediate)
static NS_COM void * Realloc (void *ptr, size_t size)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index