Modified src/OFApplication.m
from [3bc541c774]
to [2ce5c50064].
︙ | | | ︙ | |
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
#ifdef OF_HAVE_SANDBOX
+ (void)activateSandbox: (OFSandbox *)sandbox
{
[app activateSandbox: sandbox];
}
#endif
- OF_init
{
self = [super init];
@try {
void *pool;
|
>
>
>
>
>
|
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
|
#ifdef OF_HAVE_SANDBOX
+ (void)activateSandbox: (OFSandbox *)sandbox
{
[app activateSandbox: sandbox];
}
#endif
- init
{
OF_INVALID_INIT_METHOD
}
- OF_init
{
self = [super init];
@try {
void *pool;
|
︙ | | | ︙ | |
Modified src/OFIntrospection.m
from [1afb80a6b9]
to [46193e4da0].
︙ | | | ︙ | |
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import "OFString.h"
#import "OFArray.h"
#import "OFInitializationFailedException.h"
@implementation OFMethod
@synthesize selector = _selector, name = _name, typeEncoding = _typeEncoding;
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithMethod: (struct objc_method *)method
{
self = [super init];
@try {
|
>
>
>
>
>
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#import "OFString.h"
#import "OFArray.h"
#import "OFInitializationFailedException.h"
@implementation OFMethod
@synthesize selector = _selector, name = _name, typeEncoding = _typeEncoding;
- init
{
OF_INVALID_INIT_METHOD
}
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithMethod: (struct objc_method *)method
{
self = [super init];
@try {
|
︙ | | | ︙ | |
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
return self;
}
#else
# error Invalid ObjC runtime!
#endif
- init
{
OF_INVALID_INIT_METHOD
}
- (void)dealloc
{
[_name release];
[super dealloc];
}
|
<
<
<
<
<
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
return self;
}
#else
# error Invalid ObjC runtime!
#endif
- (void)dealloc
{
[_name release];
[super dealloc];
}
|
︙ | | | ︙ | |
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
return hash;
}
@end
@implementation OFProperty
@synthesize name = _name, attributes = _attributes;
@synthesize getter = _getter, setter = _setter;
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithProperty: (struct objc_property *)property
{
self = [super init];
@try {
|
>
>
>
>
>
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
return hash;
}
@end
@implementation OFProperty
@synthesize name = _name, attributes = _attributes;
@synthesize getter = _getter, setter = _setter;
- init
{
OF_INVALID_INIT_METHOD
}
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithProperty: (struct objc_property *)property
{
self = [super init];
@try {
|
︙ | | | ︙ | |
350
351
352
353
354
355
356
357
358
359
360
361
362
363
|
return hash;
}
@end
@implementation OFInstanceVariable
@synthesize name = _name, offset = _offset, typeEncoding = _typeEncoding;
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithIvar: (struct objc_ivar *)ivar
{
self = [super init];
@try {
|
>
>
>
>
>
|
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
|
return hash;
}
@end
@implementation OFInstanceVariable
@synthesize name = _name, offset = _offset, typeEncoding = _typeEncoding;
- init
{
OF_INVALID_INIT_METHOD
}
#if defined(OF_OBJFW_RUNTIME)
- (instancetype)OF_initWithIvar: (struct objc_ivar *)ivar
{
self = [super init];
@try {
|
︙ | | | ︙ | |
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
|
return self;
}
#else
# error Invalid ObjC runtime!
#endif
- init
{
OF_INVALID_INIT_METHOD
}
- (void)dealloc
{
[_name release];
[super dealloc];
}
|
<
<
<
<
<
|
398
399
400
401
402
403
404
405
406
407
408
409
410
411
|
return self;
}
#else
# error Invalid ObjC runtime!
#endif
- (void)dealloc
{
[_name release];
[super dealloc];
}
|
︙ | | | ︙ | |
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
@synthesize classMethods = _classMethods, instanceMethods = _instanceMethods;
@synthesize properties = _properties, instanceVariables = _instanceVariables;
+ (instancetype)introspectionWithClass: (Class)class
{
return [[[self alloc] initWithClass: class] autorelease];
}
- initWithClass: (Class)class
{
self = [super init];
@try {
#if defined(OF_OBJFW_RUNTIME)
|
>
>
>
>
>
|
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
|
@synthesize classMethods = _classMethods, instanceMethods = _instanceMethods;
@synthesize properties = _properties, instanceVariables = _instanceVariables;
+ (instancetype)introspectionWithClass: (Class)class
{
return [[[self alloc] initWithClass: class] autorelease];
}
- init
{
OF_INVALID_INIT_METHOD
}
- initWithClass: (Class)class
{
self = [super init];
@try {
#if defined(OF_OBJFW_RUNTIME)
|
︙ | | | ︙ | |
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
|
[self release];
@throw e;
}
return self;
}
- init
{
OF_INVALID_INIT_METHOD
}
- (void)dealloc
{
[_classMethods release];
[_instanceMethods release];
[_instanceVariables release];
[super dealloc];
}
@end
|
<
<
<
<
<
|
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
|
[self release];
@throw e;
}
return self;
}
- (void)dealloc
{
[_classMethods release];
[_instanceMethods release];
[_instanceVariables release];
[super dealloc];
}
@end
|
Modified src/exceptions/OFAcceptFailedException.m
from [3dce4b47ac]
to [439bad1241].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFAcceptFailedException.h"
#import "OFString.h"
@implementation OFAcceptFailedException
@synthesize socket = _socket, errNo = _errNo;
+ (instancetype)exceptionWithSocket: (id)socket
errNo: (int)errNo
{
return [[[self alloc] initWithSocket: socket
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFAcceptFailedException.h"
#import "OFString.h"
@implementation OFAcceptFailedException
@synthesize socket = _socket, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSocket: (id)socket
errNo: (int)errNo
{
return [[[self alloc] initWithSocket: socket
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFAllocFailedException.m
from [3f54c3ecda]
to [259e8f3f61].
︙ | | | ︙ | |
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "config.h"
#import "OFAllocFailedException.h"
#import "OFString.h"
@implementation OFAllocFailedException
+ alloc
{
OF_UNRECOGNIZED_SELECTOR
}
- init
{
|
>
>
>
>
>
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include "config.h"
#import "OFAllocFailedException.h"
#import "OFString.h"
@implementation OFAllocFailedException
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ alloc
{
OF_UNRECOGNIZED_SELECTOR
}
- init
{
|
︙ | | | ︙ | |
Modified src/exceptions/OFBindFailedException.m
from [e0e0543c8b]
to [ab8d2f4945].
︙ | | | ︙ | |
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <inttypes.h>
#import "OFBindFailedException.h"
#import "OFString.h"
@implementation OFBindFailedException
@synthesize host = _host, port = _port, socket = _socket, errNo = _errNo;
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo
{
return [[[self alloc] initWithHost: host
|
>
>
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include <inttypes.h>
#import "OFBindFailedException.h"
#import "OFString.h"
@implementation OFBindFailedException
@synthesize host = _host, port = _port, socket = _socket, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo
{
return [[[self alloc] initWithHost: host
|
︙ | | | ︙ | |
Modified src/exceptions/OFChangeCurrentDirectoryPathFailedException.m
from [2d31d2e850]
to [44d470ce9a].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFChangeCurrentDirectoryPathFailedException.h"
#import "OFString.h"
@implementation OFChangeCurrentDirectoryPathFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFChangeCurrentDirectoryPathFailedException.h"
#import "OFString.h"
@implementation OFChangeCurrentDirectoryPathFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFChangeOwnerFailedException.m
from [a981279a06]
to [720452cd67].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFChangeOwnerFailedException.h"
#import "OFString.h"
@implementation OFChangeOwnerFailedException
@synthesize path = _path, owner = _owner, group = _group, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
owner: (OFString *)owner
group: (OFString *)group
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFChangeOwnerFailedException.h"
#import "OFString.h"
@implementation OFChangeOwnerFailedException
@synthesize path = _path, owner = _owner, group = _group, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
owner: (OFString *)owner
group: (OFString *)group
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
|
︙ | | | ︙ | |
Modified src/exceptions/OFChangePermissionsFailedException.m
from [b3ab971426]
to [33ed3df82e].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFChangePermissionsFailedException.h"
#import "OFString.h"
@implementation OFChangePermissionsFailedException
@synthesize path = _path, permissions = _permissions, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
permissions: (mode_t)permissions
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
permissions: permissions
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFChangePermissionsFailedException.h"
#import "OFString.h"
@implementation OFChangePermissionsFailedException
@synthesize path = _path, permissions = _permissions, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
permissions: (mode_t)permissions
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
permissions: permissions
|
︙ | | | ︙ | |
Modified src/exceptions/OFConnectionFailedException.m
from [6e3b6ce290]
to [362d0afa20].
︙ | | | ︙ | |
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <inttypes.h>
#import "OFConnectionFailedException.h"
#import "OFString.h"
@implementation OFConnectionFailedException
@synthesize host = _host, port = _port, socket = _socket, errNo = _errNo;
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
{
return [[[self alloc] initWithHost: host
port: port
|
>
>
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include <inttypes.h>
#import "OFConnectionFailedException.h"
#import "OFString.h"
@implementation OFConnectionFailedException
@synthesize host = _host, port = _port, socket = _socket, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
{
return [[[self alloc] initWithHost: host
port: port
|
︙ | | | ︙ | |
Modified src/exceptions/OFCopyItemFailedException.m
from [4db34f034e]
to [2724ad2ead].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFCopyItemFailedException.h"
#import "OFString.h"
@implementation OFCopyItemFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
errNo: (int)errNo
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFCopyItemFailedException.h"
#import "OFString.h"
@implementation OFCopyItemFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
errNo: (int)errNo
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath
|
︙ | | | ︙ | |
Modified src/exceptions/OFCreateDirectoryFailedException.m
from [ac18aba803]
to [330ed07c9c].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFCreateDirectoryFailedException.h"
#import "OFString.h"
@implementation OFCreateDirectoryFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFCreateDirectoryFailedException.h"
#import "OFString.h"
@implementation OFCreateDirectoryFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFCreateSymbolicLinkFailedException.m
from [2ef5f721b8]
to [d7ffabf569].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFCreateSymbolicLinkFailedException.h"
#import "OFString.h"
@implementation OFCreateSymbolicLinkFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFCreateSymbolicLinkFailedException.h"
#import "OFString.h"
@implementation OFCreateSymbolicLinkFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFEnumerationMutationException.m
from [8fcf852c28]
to [2fb4ca567c].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFEnumerationMutationException.h"
#import "OFString.h"
@implementation OFEnumerationMutationException
@synthesize object = _object;
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFEnumerationMutationException.h"
#import "OFString.h"
@implementation OFEnumerationMutationException
@synthesize object = _object;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
︙ | | | ︙ | |
Modified src/exceptions/OFGetOptionFailedException.m
from [e981c51f46]
to [72e358014a].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFGetOptionFailedException.h"
#import "OFString.h"
#import "OFStream.h"
@implementation OFGetOptionFailedException
@synthesize stream = _stream, errNo = _errNo;
+ (instancetype)exceptionWithStream: (OFStream *)stream
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFGetOptionFailedException.h"
#import "OFString.h"
#import "OFStream.h"
@implementation OFGetOptionFailedException
@synthesize stream = _stream, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithStream: (OFStream *)stream
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFHTTPRequestFailedException.m
from [057b189e49]
to [e70088b5fe].
︙ | | | ︙ | |
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#import "OFHTTPRequestFailedException.h"
#import "OFString.h"
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
@implementation OFHTTPRequestFailedException
@synthesize request = _request, response = _response;
+ (instancetype)exceptionWithRequest: (OFHTTPRequest *)request
response: (OFHTTPResponse *)response
{
return [[[self alloc] initWithRequest: request
response: response] autorelease];
}
|
>
>
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFHTTPRequestFailedException.h"
#import "OFString.h"
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
@implementation OFHTTPRequestFailedException
@synthesize request = _request, response = _response;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithRequest: (OFHTTPRequest *)request
response: (OFHTTPResponse *)response
{
return [[[self alloc] initWithRequest: request
response: response] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFHashAlreadyCalculatedException.m
from [8cb0db74ba]
to [0c47500461].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFHashAlreadyCalculatedException.h"
#import "OFString.h"
@implementation OFHashAlreadyCalculatedException
@synthesize object = _object;
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFHashAlreadyCalculatedException.h"
#import "OFString.h"
@implementation OFHashAlreadyCalculatedException
@synthesize object = _object;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
︙ | | | ︙ | |
Modified src/exceptions/OFInvalidJSONException.m
from [fff3723ab2]
to [532f763bed].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFInvalidJSONException.h"
#import "OFString.h"
@implementation OFInvalidJSONException
@synthesize string = _string, line = _line;
+ (instancetype)exceptionWithString: (OFString *)string
line: (size_t)line
{
return [[[self alloc] initWithString: string
line: line] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFInvalidJSONException.h"
#import "OFString.h"
@implementation OFInvalidJSONException
@synthesize string = _string, line = _line;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithString: (OFString *)string
line: (size_t)line
{
return [[[self alloc] initWithString: string
line: line] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFLinkFailedException.m
from [ec984119f3]
to [d6a8b9409e].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFLinkFailedException.h"
#import "OFString.h"
@implementation OFLinkFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFLinkFailedException.h"
#import "OFString.h"
@implementation OFLinkFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFListenFailedException.m
from [68088da6a3]
to [d70f3265c2].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFListenFailedException.h"
#import "OFString.h"
@implementation OFListenFailedException
@synthesize socket = _socket, backLog = _backLog, errNo = _errNo;
+ (instancetype)exceptionWithSocket: (id)socket
backLog: (int)backLog
errNo: (int)errNo
{
return [[[self alloc] initWithSocket: socket
backLog: backLog
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFListenFailedException.h"
#import "OFString.h"
@implementation OFListenFailedException
@synthesize socket = _socket, backLog = _backLog, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSocket: (id)socket
backLog: (int)backLog
errNo: (int)errNo
{
return [[[self alloc] initWithSocket: socket
backLog: backLog
|
︙ | | | ︙ | |
Modified src/exceptions/OFMemoryNotPartOfObjectException.m
from [b8b6e69018]
to [649609b5d6].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFMemoryNotPartOfObjectException.h"
#import "OFString.h"
@implementation OFMemoryNotPartOfObjectException
@synthesize pointer = _pointer, object = _object;
+ (instancetype)exceptionWithPointer: (void *)pointer
object: (id)object
{
return [[[self alloc] initWithPointer: pointer
object: object] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFMemoryNotPartOfObjectException.h"
#import "OFString.h"
@implementation OFMemoryNotPartOfObjectException
@synthesize pointer = _pointer, object = _object;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPointer: (void *)pointer
object: (id)object
{
return [[[self alloc] initWithPointer: pointer
object: object] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFMoveItemFailedException.m
from [fa7b0f3804]
to [12cd77657e].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFMoveItemFailedException.h"
#import "OFString.h"
@implementation OFMoveItemFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
errNo: (int)errNo
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFMoveItemFailedException.h"
#import "OFString.h"
@implementation OFMoveItemFailedException
@synthesize sourcePath = _sourcePath, destinationPath = _destinationPath;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSourcePath: (OFString *)sourcePath
destinationPath: (OFString *)destinationPath
errNo: (int)errNo
{
return [[[self alloc] initWithSourcePath: sourcePath
destinationPath: destinationPath
|
︙ | | | ︙ | |
Modified src/exceptions/OFNotImplementedException.m
from [37412f6538]
to [c3dc3f6ae4].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFNotImplementedException.h"
#import "OFString.h"
@implementation OFNotImplementedException
@synthesize selector = _selector, object = _object;
+ (instancetype)exceptionWithSelector: (SEL)selector
object: (id)object
{
return [[[self alloc] initWithSelector: selector
object: object] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFNotImplementedException.h"
#import "OFString.h"
@implementation OFNotImplementedException
@synthesize selector = _selector, object = _object;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSelector: (SEL)selector
object: (id)object
{
return [[[self alloc] initWithSelector: selector
object: object] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFNotOpenException.m
from [80096a1857]
to [f2f0957e2a].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFNotOpenException.h"
#import "OFString.h"
@implementation OFNotOpenException
@synthesize object = _object;
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFNotOpenException.h"
#import "OFString.h"
@implementation OFNotOpenException
@synthesize object = _object;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObject: (id)object
{
return [[[self alloc] initWithObject: object] autorelease];
}
- init
|
︙ | | | ︙ | |
Modified src/exceptions/OFObserveFailedException.m
from [23af32b8f2]
to [5ae6b31dd4].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFObserveFailedException.h"
#import "OFString.h"
#import "OFKernelEventObserver.h"
@implementation OFObserveFailedException
@synthesize observer = _observer, errNo = _errNo;
+ (instancetype)exceptionWithObserver: (OFKernelEventObserver *)observer
errNo: (int)errNo
{
return [[[self alloc] initWithObserver: observer
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFObserveFailedException.h"
#import "OFString.h"
#import "OFKernelEventObserver.h"
@implementation OFObserveFailedException
@synthesize observer = _observer, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObserver: (OFKernelEventObserver *)observer
errNo: (int)errNo
{
return [[[self alloc] initWithObserver: observer
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFOpenItemFailedException.m
from [7244bfb39e]
to [3430fe78c1].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFOpenItemFailedException.h"
#import "OFString.h"
@implementation OFOpenItemFailedException
@synthesize path = _path, mode = _mode, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
{
return [[[self alloc] initWithPath: path] autorelease];
}
+ (instancetype)exceptionWithPath: (OFString *)path
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFOpenItemFailedException.h"
#import "OFString.h"
@implementation OFOpenItemFailedException
@synthesize path = _path, mode = _mode, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
{
return [[[self alloc] initWithPath: path] autorelease];
}
+ (instancetype)exceptionWithPath: (OFString *)path
|
︙ | | | ︙ | |
Modified src/exceptions/OFReadOrWriteFailedException.m
from [cf55ce6afb]
to [dcc2fa8f51].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFReadOrWriteFailedException.h"
#import "OFString.h"
@implementation OFReadOrWriteFailedException
@synthesize object = _object, requestedLength = _requestedLength;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithObject: (id)object
requestedLength: (size_t)requestedLength
{
return [[[self alloc] initWithObject: object
requestedLength: requestedLength] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFReadOrWriteFailedException.h"
#import "OFString.h"
@implementation OFReadOrWriteFailedException
@synthesize object = _object, requestedLength = _requestedLength;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObject: (id)object
requestedLength: (size_t)requestedLength
{
return [[[self alloc] initWithObject: object
requestedLength: requestedLength] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFRemoveItemFailedException.m
from [a7ff1e04ee]
to [5cc237476f].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFRemoveItemFailedException.h"
#import "OFString.h"
@implementation OFRemoveItemFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFRemoveItemFailedException.h"
#import "OFString.h"
@implementation OFRemoveItemFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
errNo: (int)errNo
{
return [[[self alloc] initWithPath: path
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFSandboxActivationFailedException.m
from [a66044aa59]
to [81ac775338].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFSandboxActivationFailedException.h"
#import "OFString.h"
#import "OFSandbox.h"
@implementation OFSandboxActivationFailedException
@synthesize sandbox = _sandbox, errNo = _errNo;
+ (instancetype)exceptionWithSandbox: (OFSandbox *)sandbox
errNo: (int)errNo
{
return [[[self alloc] initWithSandbox: sandbox
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFSandboxActivationFailedException.h"
#import "OFString.h"
#import "OFSandbox.h"
@implementation OFSandboxActivationFailedException
@synthesize sandbox = _sandbox, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSandbox: (OFSandbox *)sandbox
errNo: (int)errNo
{
return [[[self alloc] initWithSandbox: sandbox
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFSeekFailedException.m
from [00e16809f3]
to [61374f4d60].
︙ | | | ︙ | |
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#import "OFSeekFailedException.h"
#import "OFString.h"
#import "OFSeekableStream.h"
@implementation OFSeekFailedException
@synthesize stream = _stream, offset = _offset, whence = _whence;
@synthesize errNo = _errNo;
+ (instancetype)exceptionWithStream: (OFSeekableStream *)stream
offset: (of_offset_t)offset
whence: (int)whence
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
|
>
>
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFSeekFailedException.h"
#import "OFString.h"
#import "OFSeekableStream.h"
@implementation OFSeekFailedException
@synthesize stream = _stream, offset = _offset, whence = _whence;
@synthesize errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithStream: (OFSeekableStream *)stream
offset: (of_offset_t)offset
whence: (int)whence
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
|
︙ | | | ︙ | |
Modified src/exceptions/OFSetOptionFailedException.m
from [50bd99831b]
to [d872fab5a7].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFSetOptionFailedException.h"
#import "OFString.h"
#import "OFStream.h"
@implementation OFSetOptionFailedException
@synthesize stream = _stream, errNo = _errNo;
+ (instancetype)exceptionWithStream: (OFStream *)stream
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
errNo: errNo] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFSetOptionFailedException.h"
#import "OFString.h"
#import "OFStream.h"
@implementation OFSetOptionFailedException
@synthesize stream = _stream, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithStream: (OFStream *)stream
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
errNo: errNo] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFStatItemFailedException.m
from [ffd210e74b]
to [e7d85ac692].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFStatItemFailedException.h"
#import "OFString.h"
@implementation OFStatItemFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exceptionWithPath: (OFString *)path
{
return [[[self alloc] initWithPath: path] autorelease];
}
+ (instancetype)exceptionWithPath: (OFString *)path
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFStatItemFailedException.h"
#import "OFString.h"
@implementation OFStatItemFailedException
@synthesize path = _path, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPath: (OFString *)path
{
return [[[self alloc] initWithPath: path] autorelease];
}
+ (instancetype)exceptionWithPath: (OFString *)path
|
︙ | | | ︙ | |
Modified src/exceptions/OFUnboundNamespaceException.m
from [62bea9dc90]
to [c53b196b47].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFUnboundNamespaceException.h"
#import "OFString.h"
#import "OFXMLElement.h"
@implementation OFUnboundNamespaceException
@synthesize namespace = _namespace, element = _element;
+ (instancetype)exceptionWithNamespace: (OFString *)namespace
element: (OFXMLElement *)element
{
return [[[self alloc] initWithNamespace: namespace
element: element] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFUnboundNamespaceException.h"
#import "OFString.h"
#import "OFXMLElement.h"
@implementation OFUnboundNamespaceException
@synthesize namespace = _namespace, element = _element;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithNamespace: (OFString *)namespace
element: (OFXMLElement *)element
{
return [[[self alloc] initWithNamespace: namespace
element: element] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFUnboundPrefixException.m
from [eea8d45e3d]
to [6f576c049a].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFUnboundPrefixException.h"
#import "OFString.h"
#import "OFXMLParser.h"
@implementation OFUnboundPrefixException
@synthesize prefix = _prefix, parser = _parser;
+ (instancetype)exceptionWithPrefix: (OFString *)prefix
parser: (OFXMLParser *)parser
{
return [[[self alloc] initWithPrefix: prefix
parser: parser] autorelease];
}
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFUnboundPrefixException.h"
#import "OFString.h"
#import "OFXMLParser.h"
@implementation OFUnboundPrefixException
@synthesize prefix = _prefix, parser = _parser;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithPrefix: (OFString *)prefix
parser: (OFXMLParser *)parser
{
return [[[self alloc] initWithPrefix: prefix
parser: parser] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFUndefinedKeyException.m
from [d7d9dee998]
to [d791f70d8c].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFUndefinedKeyException.h"
#import "OFString.h"
@implementation OFUndefinedKeyException
@synthesize object = _object, key = _key, value = _value;
+ (instancetype)exceptionWithObject: (id)object
key: (OFString *)key
{
return [[[self alloc] initWithObject: object
key: key] autorelease];
}
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFUndefinedKeyException.h"
#import "OFString.h"
@implementation OFUndefinedKeyException
@synthesize object = _object, key = _key, value = _value;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithObject: (id)object
key: (OFString *)key
{
return [[[self alloc] initWithObject: object
key: key] autorelease];
}
|
︙ | | | ︙ | |
Modified src/exceptions/OFUnsupportedProtocolException.m
from [c9e247cc3c]
to [0553975a42].
︙ | | | ︙ | |
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFUnsupportedProtocolException.h"
#import "OFString.h"
#import "OFURL.h"
@implementation OFUnsupportedProtocolException
@synthesize URL = _URL;
+ (instancetype)exceptionWithURL: (OFURL *)URL
{
return [[[self alloc] initWithURL: URL] autorelease];
}
- init
|
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFUnsupportedProtocolException.h"
#import "OFString.h"
#import "OFURL.h"
@implementation OFUnsupportedProtocolException
@synthesize URL = _URL;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithURL: (OFURL *)URL
{
return [[[self alloc] initWithURL: URL] autorelease];
}
- init
|
︙ | | | ︙ | |
Modified src/exceptions/OFUnsupportedVersionException.m
from [ec312f72f0]
to [e260d7129f].
︙ | | | ︙ | |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#import "OFUnsupportedVersionException.h"
#import "OFString.h"
@implementation OFUnsupportedVersionException
@synthesize version = _version;
+ (instancetype)exceptionWithVersion: (OFString *)version
{
return [[[self alloc] initWithVersion: version] autorelease];
}
- init
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "config.h"
#import "OFUnsupportedVersionException.h"
#import "OFString.h"
@implementation OFUnsupportedVersionException
@synthesize version = _version;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithVersion: (OFString *)version
{
return [[[self alloc] initWithVersion: version] autorelease];
}
- init
|
︙ | | | ︙ | |
Modified src/macros.h
from [9127ca3dee]
to [45a38ec43d].
︙ | | | ︙ | |
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# define thread_local __thread
#endif
#ifdef __GNUC__
# define OF_INLINE inline __attribute__((__always_inline__))
# define OF_LIKELY(cond) (__builtin_expect(!!(cond), 1))
# define OF_UNLIKELY(cond) (__builtin_expect(!!(cond), 0))
# define OF_UNAVAILABLE __attribute__((__unavailable__))
# define OF_CONST_FUNC __attribute__((__const__))
# define OF_NO_RETURN_FUNC __attribute__((__noreturn__))
# define OF_WEAK_REF(sym) __attribute__((__weakref__(sym)))
#else
# define OF_INLINE inline
# define OF_LIKELY(cond) cond
# define OF_UNLIKELY(cond) cond
# define OF_UNAVAILABLE
# define OF_CONST_FUNC
# define OF_NO_RETURN_FUNC
# define OF_WEAK_REF(sym)
#endif
#ifdef OF_BIG_ENDIAN
# define OF_BYTE_ORDER_NATIVE OF_BYTE_ORDER_BIG_ENDIAN
|
<
<
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# define thread_local __thread
#endif
#ifdef __GNUC__
# define OF_INLINE inline __attribute__((__always_inline__))
# define OF_LIKELY(cond) (__builtin_expect(!!(cond), 1))
# define OF_UNLIKELY(cond) (__builtin_expect(!!(cond), 0))
# define OF_CONST_FUNC __attribute__((__const__))
# define OF_NO_RETURN_FUNC __attribute__((__noreturn__))
# define OF_WEAK_REF(sym) __attribute__((__weakref__(sym)))
#else
# define OF_INLINE inline
# define OF_LIKELY(cond) cond
# define OF_UNLIKELY(cond) cond
# define OF_CONST_FUNC
# define OF_NO_RETURN_FUNC
# define OF_WEAK_REF(sym)
#endif
#ifdef OF_BIG_ENDIAN
# define OF_BYTE_ORDER_NATIVE OF_BYTE_ORDER_BIG_ENDIAN
|
︙ | | | ︙ | |
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((__sentinel__))
# define OF_NO_RETURN __attribute__((__noreturn__))
#else
# define OF_SENTINEL
# define OF_NO_RETURN
#endif
#if __has_attribute(__objc_requires_super__)
# define OF_REQUIRES_SUPER __attribute__((__objc_requires_super__))
#else
# define OF_REQUIRES_SUPER
#endif
|
>
>
>
>
>
>
|
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((__sentinel__))
# define OF_NO_RETURN __attribute__((__noreturn__))
#else
# define OF_SENTINEL
# define OF_NO_RETURN
#endif
#if __has_attribute(__unavailable__)
# define OF_UNAVAILABLE __attribute__((__unavailable__))
#else
# define OF_UNAVAILABLE
#endif
#if __has_attribute(__objc_requires_super__)
# define OF_REQUIRES_SUPER __attribute__((__objc_requires_super__))
#else
# define OF_REQUIRES_SUPER
#endif
|
︙ | | | ︙ | |