MoSync 3.3
MAUtil::PlaceholderPool Namespace Reference

A dynamic pool of MoSync placeholder resource handles. More...

Functions

MAHandle alloc () GCCATTRIB(deprecated)
void put (MAHandle h) GCCATTRIB(deprecated)

Detailed Description

A dynamic pool of MoSync placeholder resource handles.

Such handles are used to construct new MoSync resources, such as images, sound clips or data objects.

Deprecated:
Use maCreatePlacholder() and maDestroyPlaceholder() instead.

Function Documentation

Retrieves and removes a MAHandle from the pool, or, if the pool is empty, allocates a new MAHandle.

Adds a MAHandle to the pool. If the MAHandle refers to a valid MoSync Object, that object is destroyed.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines