ObjFW  Check-in [fc64538f06]

Overview
Comment:bridge: Use @import ObjFW when using modules

This makes it possible to use the bridge with Swift.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fc64538f06d1d1707c4dfbb38cf49e2b9eb43f834e8fa6fd85ebd900a05038a0
User & Date: js on 2017-10-15 20:55:18
Other Links: manifest | tags
Context
2017-10-15
22:06
Add script to build universal iOS lib + framework check-in: 5a311cc1bf user: js tags: trunk
20:55
bridge: Use @import ObjFW when using modules check-in: fc64538f06 user: js tags: trunk
20:52
Update buildsys and adjust check-in: 42c436bf5b user: js tags: trunk
Changes

Modified src/bridge/NSBridging.h from [ea5b8aa5be] to [0ccb6cb85c].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "macros.h"
#else



# import <ObjFW/macros.h>

#endif

OF_ASSUME_NONNULL_BEGIN

/*!
 * @protocol NSBridging NSBridging.h ObjFW-Bridge/NSBridging.h
 *







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "macros.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/macros.h>
# endif
#endif

OF_ASSUME_NONNULL_BEGIN

/*!
 * @protocol NSBridging NSBridging.h ObjFW-Bridge/NSBridging.h
 *

Modified src/bridge/OFArray+NSObject.h from [77830ad94e] to [73ee9700a0].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFArray.h"
#else



# import <ObjFW/OFArray.h>

#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFArray.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/OFArray.h>
# endif
#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!

Modified src/bridge/OFArray_NSArray.h from [c92ad990ae] to [de8c239436].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFArray.h"
#else



# import <ObjFW/OFArray.h>

#endif

OF_ASSUME_NONNULL_BEGIN

@class NSArray;

@interface OFArray_NSArray: OFArray







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFArray.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/OFArray.h>
# endif
#endif

OF_ASSUME_NONNULL_BEGIN

@class NSArray;

@interface OFArray_NSArray: OFArray

Modified src/bridge/OFBridging.h from [4b2d9468bb] to [8e59e22b17].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "macros.h"
#else



# import <ObjFW/macros.h>

#endif

OF_ASSUME_NONNULL_BEGIN

/*!
 * @protocol OFBridging OFBridging.h ObjFW-Bridge/OFBridging.h
 *







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "macros.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/macros.h>
# endif
#endif

OF_ASSUME_NONNULL_BEGIN

/*!
 * @protocol OFBridging OFBridging.h ObjFW-Bridge/OFBridging.h
 *

Modified src/bridge/OFDictionary+NSObject.h from [46b964fc6a] to [2b98158bd3].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFDictionary.h"
#else



# import <ObjFW/OFDictionary.h>

#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFDictionary.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/OFDictionary.h>
# endif
#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!

Modified src/bridge/OFDictionary_NSDictionary.h from [1cd9e552cd] to [c4deae7130].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFDictionary.h"
#else



# import <ObjFW/OFDictionary.h>

#endif

OF_ASSUME_NONNULL_BEGIN

@class NSDictionary;

@interface OFDictionary_NSDictionary: OFDictionary







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFDictionary.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/OFDictionary.h>
# endif
#endif

OF_ASSUME_NONNULL_BEGIN

@class NSDictionary;

@interface OFDictionary_NSDictionary: OFDictionary

Modified src/bridge/OFString+NSObject.h from [37f94ecb02] to [b9ab4a61f1].

13
14
15
16
17
18
19



20

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

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFString.h"
#else



# import <ObjFW/OFString.h>

#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!







>
>
>
|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#ifdef OF_BRIDGE_LOCAL_INCLUDES
# import "OFString.h"
#else
# if defined(__has_feature) && __has_feature(modules)
@import ObjFW;
# else
#  import <ObjFW/OFString.h>
# endif
#endif

#import "OFBridging.h"

OF_ASSUME_NONNULL_BEGIN

/*!