101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
-
-
-
-
+
-
+
-
+
-
|
} allocFailedException;
uint32_t of_hash_seed;
static const char *
typeEncodingForSelector(Class class, SEL selector)
{
#if defined(OF_OBJFW_RUNTIME)
return class_getMethodTypeEncoding(class, selector);
#elif defined(OF_APPLE_RUNTIME)
Method m;
Method method;
if ((m = class_getInstanceMethod(class, selector)) == NULL)
if ((method = class_getInstanceMethod(class, selector)) == NULL)
return NULL;
return method_getTypeEncoding(m);
return method_getTypeEncoding(method);
#endif
}
#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
static void
uncaughtExceptionHandler(id exception)
{
OFString *description = [exception description];
|