Page MenuHomePhorge

runtime-compatibility.h
No OneTemporary

Authored By
Unknown
Size
440 B
Referenced Files
None
Subscribers
None

runtime-compatibility.h

#include <Foundation/NSObject.h>
#ifndef AUTORELEASE
#define ASSIGN(VAR, VALUE) \
({ RELEASE (VAR); VAR = VALUE; RETAIN (VAR); })
#define ASSIGN_COPY(VAR, VALUE) \
({ RELEASE (VAR); VAR = [VALUE copy]; RETAIN (VAR); })
#define AUTORELEASE(VALUE) \
[VALUE autorelease]
#define DESTROY(VAR) \
({ RELEASE (VAR); VAR = nil; })
#define RELEASE(VALUE) \
[VALUE release]
#define RETAIN(VALUE) \
[VALUE retain]
#endif // !AUTORELEASE

File Metadata

Mime Type
text/x-c
Expires
Sun, Dec 6, 11:48 PM (7 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
22733
Default Alt Text
runtime-compatibility.h (440 B)

Event Timeline