CrystalSpace

Public API Reference

csOSXAutoGC Class Reference

Helper class to allocate an NSAutoreleasePool at the point of delcaration and release it automatically at the end of the block in which it is declared. More...

#include <csutil/macosx/OSXAutoGC.h>

List of all members.


Detailed Description

Helper class to allocate an NSAutoreleasePool at the point of delcaration and release it automatically at the end of the block in which it is declared.

This is more convenient (and involves less typing) than manually allocating an NSAutoreleasePool and then remembering to release it later. Can only be used in conjunction with the Objective-C++ compiler.

Definition at line 31 of file OSXAutoGC.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1