ObjFW  Diff

Differences From Artifact [f7798a36a9]:

  • File src/Makefile — part of check-in [3d0a1604ae] at 2011-02-02 22:26:45 on branch trunk — Increase blocks compatibility by replacing NSAutoreleasePool.

    NSAutoreleasePool is replaced by OFAutoreleasePool now so that there is
    no conflict because OFBlocks are used (blocks are OFBlocks as soon as
    ObjFW is linked). An application expecting an NSBlock, but getting an
    OFBlock because ObjFW is linked, would fail to autorelease the block
    otherwise, as the block would be in an OFAutoreleasePool. By replacing
    NSAutoreleasePool with OFAutoreleasePool, the application will still
    properly free the autoreleased block.

    This will also make it easier to write applications using both,
    Foundation and ObjFW, since the developer does not need to take care
    about two different autorelease pools, but they are united instead. (user: js, size: 1505) [annotate] [blame] [check-ins using]

To Artifact [27cc76a605]:


1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
include ../extra.mk

LIB = ${OBJFW_SHARED_LIB}
LIB_MAJOR = ${OBJFW_LIB_MAJOR}
LIB_MINOR = ${OBJFW_LIB_MINOR}
STATIC_LIB = ${OBJFW_STATIC_LIB}

SRCS = OFApplication.m		\
       OFArray.m		\
       OFAutoreleasePool.m	\
       OFBlock.m		\
       OFConstantString.m	\
       OFDataArray.m		\

       OFDate.m			\
       OFDictionary.m		\
       OFExceptions.m		\
       OFFile.m			\
       OFHash.m			\
       OFEnumerator.m		\
       OFList.m			\













>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include ../extra.mk

LIB = ${OBJFW_SHARED_LIB}
LIB_MAJOR = ${OBJFW_LIB_MAJOR}
LIB_MINOR = ${OBJFW_LIB_MINOR}
STATIC_LIB = ${OBJFW_STATIC_LIB}

SRCS = OFApplication.m		\
       OFArray.m		\
       OFAutoreleasePool.m	\
       OFBlock.m		\
       OFConstantString.m	\
       OFDataArray.m		\
       OFDataArray+Hashing.m	\
       OFDate.m			\
       OFDictionary.m		\
       OFExceptions.m		\
       OFFile.m			\
       OFHash.m			\
       OFEnumerator.m		\
       OFList.m			\