101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
uint32_t of_hash_seed;
static const char *
typeEncodingForSelector(Class class, SEL selector)
{
#if defined(OF_OBJFW_RUNTIME)
return class_getMethodTypeEncoding(class, selector);
#else
Method m;
if ((m = class_getInstanceMethod(class, selector)) == NULL)
return NULL;
return method_getTypeEncoding(m);
#endif
|
|
|
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
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;
if ((m = class_getInstanceMethod(class, selector)) == NULL)
return NULL;
return method_getTypeEncoding(m);
#endif
|