ObjFW  Check-in [13c5836ad2]

Overview
Comment:autorelease.h: Add documentation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 13c5836ad2b0f54f40f0862e8e515551980ea8ad2f601233a6fd4d22fb8b1bc0
User & Date: js on 2013-01-23 21:53:21
Other Links: manifest | tags
Context
2013-01-23
21:57
TableGenerator: Don't depend on wget anymore. check-in: 7e2ee1bbf2 user: js tags: trunk
21:53
autorelease.h: Add documentation. check-in: 13c5836ad2 user: js tags: trunk
21:52
Never compare to @"", use length instead. check-in: ea4a43461c user: js tags: trunk
Changes

Modified src/autorelease.h from [90bacfe610] to [f151a32031].

13
14
15
16
17
18
19







20






21







22
23
24
25
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef __cplusplus
extern "C" {
#endif







extern void* objc_autoreleasePoolPush();






extern void objc_autoreleasePoolPop(void*);







extern id _objc_rootAutorelease(id object);
#ifdef __cplusplus
}
#endif







>
>
>
>
>
>
>

>
>
>
>
>
>
|
>
>
>
>
>
>
>




13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef __cplusplus
extern "C" {
#endif
/*! @file */

/*!
 * @brief Creates a new autorelease pool.
 *
 * @return An identifier for the created autorelease pool
 */
extern void* objc_autoreleasePoolPush();

/*!
 * @brief Drains an autorelease pool.
 *
 * @param pool An identifier for the pool to drain
 */
extern void objc_autoreleasePoolPop(void *pool);

/*!
 * @brief Autoreleases an object.
 *
 * @param object The object to autorelease
 * @return The autoreleased object
 */
extern id _objc_rootAutorelease(id object);
#ifdef __cplusplus
}
#endif