shared
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
MallocHandler Class Reference

A subclass of CleanupHandler for allocating and freeing heap memory. More...

#include <Common.hpp>

Inherits CleanupHandler< void * >.

Public Member Functions

 MallocHandler (jint nBytes)
 Requests the given number of bytes. More...
 
virtual void * get ()
 Gets the resource.
 

Detailed Description

A subclass of CleanupHandler for allocating and freeing heap memory.

Constructor & Destructor Documentation

MallocHandler::MallocHandler ( jint  nBytes)
explicit

Requests the given number of bytes.

Parameters
nBytesthe number of bytes.