12
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
|
#import "config.h"
#define _GNU_SOURCE
#import <stdio.h>
#import <stdlib.h>
#import <string.h>
#import <objc/objc-api.h>
#import "OFExceptions.h"
#if defined HAVE_SEL_GET_NAME
#define SEL_NAME(x) sel_get_name(x)
#elif defined HAVE_SEL_GETNAME
#define SEL_NAME(x) sel_getName(x)
#else
#error "You need either sel_get_name() or sel_getName!"
#endif
#ifndef HAVE_ASPRINTF
#import "asprintf.h"
#endif
@implementation OFException
+ newWithObject: (id)obj
{
|
<
<
<
<
<
<
<
<
<
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#import "config.h"
#define _GNU_SOURCE
#import <stdio.h>
#import <stdlib.h>
#import <string.h>
#import "OFExceptions.h"
#ifndef HAVE_ASPRINTF
#import "asprintf.h"
#endif
@implementation OFException
+ newWithObject: (id)obj
{
|