Author: theraven
Date: Fri Jul 16 13:29:44 2010
New Revision: 6220
URL: http://svn.gna.org/viewcvs/etoile?rev=6220&view=rev
Log:
Added some more helpful macros:
LOCAL_AUTORELEASE_POOL() creates an autorelease pool and automatically destroys
it at the end of the current scope.
LOCK_FOR_SCOPE(x) sends x a -lock message and sends an -unlock message at the
end of the current scope.
Both are exception-safe.
Modified:
trunk/Etoile/Frameworks/EtoileFoundation/Headers/Macros.h
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs