|
MoSync 3.3
|
A dynamic pool of MoSync placeholder resource handles. More...
Functions | |
| MAHandle | alloc () GCCATTRIB(deprecated) |
| void | put (MAHandle h) GCCATTRIB(deprecated) |
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.
Retrieves and removes a MAHandle from the pool, or, if the pool is empty, allocates a new MAHandle.
| void MAUtil::PlaceholderPool::put | ( | MAHandle | h | ) |
Adds a MAHandle to the pool. If the MAHandle refers to a valid MoSync Object, that object is destroyed.