Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/metal-cpp/Foundation/NSPrivate.hpp
21085 views
1
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
2
//
3
// Foundation/NSPrivate.hpp
4
//
5
// Copyright 2020-2024 Apple Inc.
6
//
7
// Licensed under the Apache License, Version 2.0 (the "License");
8
// you may not use this file except in compliance with the License.
9
// You may obtain a copy of the License at
10
//
11
// http://www.apache.org/licenses/LICENSE-2.0
12
//
13
// Unless required by applicable law or agreed to in writing, software
14
// distributed under the License is distributed on an "AS IS" BASIS,
15
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
// See the License for the specific language governing permissions and
17
// limitations under the License.
18
//
19
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
20
21
#pragma once
22
23
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
24
25
#include <objc/runtime.h>
26
27
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
28
29
#define _NS_PRIVATE_CLS(symbol) (Private::Class::s_k##symbol)
30
#define _NS_PRIVATE_SEL(accessor) (Private::Selector::s_k##accessor)
31
32
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
33
34
#if defined(NS_PRIVATE_IMPLEMENTATION)
35
36
#include <dlfcn.h>
37
38
namespace NS::Private
39
{
40
template <typename _Type>
41
inline _Type const LoadSymbol(const char* pSymbol)
42
{
43
const _Type* pAddress = static_cast<_Type*>(dlsym(RTLD_DEFAULT, pSymbol));
44
45
return pAddress ? *pAddress : _Type();
46
}
47
} // NS::Private
48
49
#ifdef METALCPP_SYMBOL_VISIBILITY_HIDDEN
50
#define _NS_PRIVATE_VISIBILITY __attribute__((visibility("hidden")))
51
#else
52
#define _NS_PRIVATE_VISIBILITY __attribute__((visibility("default")))
53
#endif // METALCPP_SYMBOL_VISIBILITY_HIDDEN
54
55
#define _NS_PRIVATE_IMPORT __attribute__((weak_import))
56
57
#ifdef __OBJC__
58
#define _NS_PRIVATE_OBJC_LOOKUP_CLASS(symbol) ((__bridge void*)objc_lookUpClass(#symbol))
59
#define _NS_PRIVATE_OBJC_GET_PROTOCOL(symbol) ((__bridge void*)objc_getProtocol(#symbol))
60
#else
61
#define _NS_PRIVATE_OBJC_LOOKUP_CLASS(symbol) objc_lookUpClass(#symbol)
62
#define _NS_PRIVATE_OBJC_GET_PROTOCOL(symbol) objc_getProtocol(#symbol)
63
#endif // __OBJC__
64
65
#define _NS_PRIVATE_DEF_CLS(symbol) void* s_k##symbol _NS_PRIVATE_VISIBILITY = _NS_PRIVATE_OBJC_LOOKUP_CLASS(symbol)
66
#define _NS_PRIVATE_DEF_PRO(symbol) void* s_k##symbol _NS_PRIVATE_VISIBILITY = _NS_PRIVATE_OBJC_GET_PROTOCOL(symbol)
67
#define _NS_PRIVATE_DEF_SEL(accessor, symbol) SEL s_k##accessor _NS_PRIVATE_VISIBILITY = sel_registerName(symbol)
68
69
#if defined(__MAC_26_0) || defined(__IPHONE_26_0) || defined(__TVOS_26_0)
70
#define _NS_PRIVATE_DEF_CONST(type, symbol) \
71
_NS_EXTERN type const NS##symbol _NS_PRIVATE_IMPORT; \
72
type const NS::symbol = (nullptr != &NS##symbol) ? NS##symbol : type()
73
#else
74
#define _NS_PRIVATE_DEF_CONST(type, symbol) \
75
_NS_EXTERN type const MTL##symbol _NS_PRIVATE_IMPORT; \
76
type const NS::symbol = Private::LoadSymbol<type>("NS" #symbol)
77
#endif
78
79
#else
80
81
#define _NS_PRIVATE_DEF_CLS(symbol) extern void* s_k##symbol
82
#define _NS_PRIVATE_DEF_PRO(symbol) extern void* s_k##symbol
83
#define _NS_PRIVATE_DEF_SEL(accessor, symbol) extern SEL s_k##accessor
84
#define _NS_PRIVATE_DEF_CONST(type, symbol) extern type const NS::symbol
85
86
#endif // NS_PRIVATE_IMPLEMENTATION
87
88
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
89
90
namespace NS
91
{
92
namespace Private
93
{
94
namespace Class
95
{
96
97
_NS_PRIVATE_DEF_CLS(NSArray);
98
_NS_PRIVATE_DEF_CLS(NSAutoreleasePool);
99
_NS_PRIVATE_DEF_CLS(NSBundle);
100
_NS_PRIVATE_DEF_CLS(NSCondition);
101
_NS_PRIVATE_DEF_CLS(NSDate);
102
_NS_PRIVATE_DEF_CLS(NSDictionary);
103
_NS_PRIVATE_DEF_CLS(NSError);
104
_NS_PRIVATE_DEF_CLS(NSNotificationCenter);
105
_NS_PRIVATE_DEF_CLS(NSNumber);
106
_NS_PRIVATE_DEF_CLS(NSObject);
107
_NS_PRIVATE_DEF_CLS(NSProcessInfo);
108
_NS_PRIVATE_DEF_CLS(NSSet);
109
_NS_PRIVATE_DEF_CLS(NSString);
110
_NS_PRIVATE_DEF_CLS(NSURL);
111
_NS_PRIVATE_DEF_CLS(NSValue);
112
113
} // Class
114
} // Private
115
} // MTL
116
117
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
118
119
namespace NS
120
{
121
namespace Private
122
{
123
namespace Protocol
124
{
125
126
} // Protocol
127
} // Private
128
} // NS
129
130
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
131
132
namespace NS
133
{
134
namespace Private
135
{
136
namespace Selector
137
{
138
139
_NS_PRIVATE_DEF_SEL(addObject_,
140
"addObject:");
141
_NS_PRIVATE_DEF_SEL(addObserverName_object_queue_block_,
142
"addObserverForName:object:queue:usingBlock:");
143
_NS_PRIVATE_DEF_SEL(activeProcessorCount,
144
"activeProcessorCount");
145
_NS_PRIVATE_DEF_SEL(allBundles,
146
"allBundles");
147
_NS_PRIVATE_DEF_SEL(allFrameworks,
148
"allFrameworks");
149
_NS_PRIVATE_DEF_SEL(allObjects,
150
"allObjects");
151
_NS_PRIVATE_DEF_SEL(alloc,
152
"alloc");
153
_NS_PRIVATE_DEF_SEL(appStoreReceiptURL,
154
"appStoreReceiptURL");
155
_NS_PRIVATE_DEF_SEL(arguments,
156
"arguments");
157
_NS_PRIVATE_DEF_SEL(array,
158
"array");
159
_NS_PRIVATE_DEF_SEL(arrayWithObject_,
160
"arrayWithObject:");
161
_NS_PRIVATE_DEF_SEL(arrayWithObjects_count_,
162
"arrayWithObjects:count:");
163
_NS_PRIVATE_DEF_SEL(automaticTerminationSupportEnabled,
164
"automaticTerminationSupportEnabled");
165
_NS_PRIVATE_DEF_SEL(autorelease,
166
"autorelease");
167
_NS_PRIVATE_DEF_SEL(beginActivityWithOptions_reason_,
168
"beginActivityWithOptions:reason:");
169
_NS_PRIVATE_DEF_SEL(boolValue,
170
"boolValue");
171
_NS_PRIVATE_DEF_SEL(broadcast,
172
"broadcast");
173
_NS_PRIVATE_DEF_SEL(builtInPlugInsPath,
174
"builtInPlugInsPath");
175
_NS_PRIVATE_DEF_SEL(builtInPlugInsURL,
176
"builtInPlugInsURL");
177
_NS_PRIVATE_DEF_SEL(bundleIdentifier,
178
"bundleIdentifier");
179
_NS_PRIVATE_DEF_SEL(bundlePath,
180
"bundlePath");
181
_NS_PRIVATE_DEF_SEL(bundleURL,
182
"bundleURL");
183
_NS_PRIVATE_DEF_SEL(bundleWithPath_,
184
"bundleWithPath:");
185
_NS_PRIVATE_DEF_SEL(bundleWithURL_,
186
"bundleWithURL:");
187
_NS_PRIVATE_DEF_SEL(caseInsensitiveCompare_,
188
"caseInsensitiveCompare:");
189
_NS_PRIVATE_DEF_SEL(characterAtIndex_,
190
"characterAtIndex:");
191
_NS_PRIVATE_DEF_SEL(charValue,
192
"charValue");
193
_NS_PRIVATE_DEF_SEL(countByEnumeratingWithState_objects_count_,
194
"countByEnumeratingWithState:objects:count:");
195
_NS_PRIVATE_DEF_SEL(cStringUsingEncoding_,
196
"cStringUsingEncoding:");
197
_NS_PRIVATE_DEF_SEL(code,
198
"code");
199
_NS_PRIVATE_DEF_SEL(compare_,
200
"compare:");
201
_NS_PRIVATE_DEF_SEL(copy,
202
"copy");
203
_NS_PRIVATE_DEF_SEL(count,
204
"count");
205
_NS_PRIVATE_DEF_SEL(dateWithTimeIntervalSinceNow_,
206
"dateWithTimeIntervalSinceNow:");
207
_NS_PRIVATE_DEF_SEL(defaultCenter,
208
"defaultCenter");
209
_NS_PRIVATE_DEF_SEL(descriptionWithLocale_,
210
"descriptionWithLocale:");
211
_NS_PRIVATE_DEF_SEL(disableAutomaticTermination_,
212
"disableAutomaticTermination:");
213
_NS_PRIVATE_DEF_SEL(disableSuddenTermination,
214
"disableSuddenTermination");
215
_NS_PRIVATE_DEF_SEL(debugDescription,
216
"debugDescription");
217
_NS_PRIVATE_DEF_SEL(description,
218
"description");
219
_NS_PRIVATE_DEF_SEL(dictionary,
220
"dictionary");
221
_NS_PRIVATE_DEF_SEL(dictionaryWithObject_forKey_,
222
"dictionaryWithObject:forKey:");
223
_NS_PRIVATE_DEF_SEL(dictionaryWithObjects_forKeys_count_,
224
"dictionaryWithObjects:forKeys:count:");
225
_NS_PRIVATE_DEF_SEL(domain,
226
"domain");
227
_NS_PRIVATE_DEF_SEL(doubleValue,
228
"doubleValue");
229
_NS_PRIVATE_DEF_SEL(drain,
230
"drain");
231
_NS_PRIVATE_DEF_SEL(enableAutomaticTermination_,
232
"enableAutomaticTermination:");
233
_NS_PRIVATE_DEF_SEL(enableSuddenTermination,
234
"enableSuddenTermination");
235
_NS_PRIVATE_DEF_SEL(endActivity_,
236
"endActivity:");
237
_NS_PRIVATE_DEF_SEL(environment,
238
"environment");
239
_NS_PRIVATE_DEF_SEL(errorWithDomain_code_userInfo_,
240
"errorWithDomain:code:userInfo:");
241
_NS_PRIVATE_DEF_SEL(executablePath,
242
"executablePath");
243
_NS_PRIVATE_DEF_SEL(executableURL,
244
"executableURL");
245
_NS_PRIVATE_DEF_SEL(fileSystemRepresentation,
246
"fileSystemRepresentation");
247
_NS_PRIVATE_DEF_SEL(fileURLWithPath_,
248
"fileURLWithPath:");
249
_NS_PRIVATE_DEF_SEL(floatValue,
250
"floatValue");
251
_NS_PRIVATE_DEF_SEL(fullUserName,
252
"fullUserName");
253
_NS_PRIVATE_DEF_SEL(getValue_size_,
254
"getValue:size:");
255
_NS_PRIVATE_DEF_SEL(globallyUniqueString,
256
"globallyUniqueString");
257
_NS_PRIVATE_DEF_SEL(hash,
258
"hash");
259
_NS_PRIVATE_DEF_SEL(hasPerformanceProfile_,
260
"hasPerformanceProfile:");
261
_NS_PRIVATE_DEF_SEL(hostName,
262
"hostName");
263
_NS_PRIVATE_DEF_SEL(infoDictionary,
264
"infoDictionary");
265
_NS_PRIVATE_DEF_SEL(init,
266
"init");
267
_NS_PRIVATE_DEF_SEL(initFileURLWithPath_,
268
"initFileURLWithPath:");
269
_NS_PRIVATE_DEF_SEL(initWithBool_,
270
"initWithBool:");
271
_NS_PRIVATE_DEF_SEL(initWithBytes_objCType_,
272
"initWithBytes:objCType:");
273
_NS_PRIVATE_DEF_SEL(initWithBytesNoCopy_length_encoding_freeWhenDone_,
274
"initWithBytesNoCopy:length:encoding:freeWhenDone:");
275
_NS_PRIVATE_DEF_SEL(initWithBytes_length_encoding_,
276
"initWithBytes:length:encoding:");
277
_NS_PRIVATE_DEF_SEL(initWithChar_,
278
"initWithChar:");
279
_NS_PRIVATE_DEF_SEL(initWithCoder_,
280
"initWithCoder:");
281
_NS_PRIVATE_DEF_SEL(initWithCString_encoding_,
282
"initWithCString:encoding:");
283
_NS_PRIVATE_DEF_SEL(initWithDomain_code_userInfo_,
284
"initWithDomain:code:userInfo:");
285
_NS_PRIVATE_DEF_SEL(initWithDouble_,
286
"initWithDouble:");
287
_NS_PRIVATE_DEF_SEL(initWithFloat_,
288
"initWithFloat:");
289
_NS_PRIVATE_DEF_SEL(initWithInt_,
290
"initWithInt:");
291
_NS_PRIVATE_DEF_SEL(initWithLong_,
292
"initWithLong:");
293
_NS_PRIVATE_DEF_SEL(initWithLongLong_,
294
"initWithLongLong:");
295
_NS_PRIVATE_DEF_SEL(initWithObjects_count_,
296
"initWithObjects:count:");
297
_NS_PRIVATE_DEF_SEL(initWithObjects_forKeys_count_,
298
"initWithObjects:forKeys:count:");
299
_NS_PRIVATE_DEF_SEL(initWithPath_,
300
"initWithPath:");
301
_NS_PRIVATE_DEF_SEL(initWithShort_,
302
"initWithShort:");
303
_NS_PRIVATE_DEF_SEL(initWithString_,
304
"initWithString:");
305
_NS_PRIVATE_DEF_SEL(initWithUnsignedChar_,
306
"initWithUnsignedChar:");
307
_NS_PRIVATE_DEF_SEL(initWithUnsignedInt_,
308
"initWithUnsignedInt:");
309
_NS_PRIVATE_DEF_SEL(initWithUnsignedLong_,
310
"initWithUnsignedLong:");
311
_NS_PRIVATE_DEF_SEL(initWithUnsignedLongLong_,
312
"initWithUnsignedLongLong:");
313
_NS_PRIVATE_DEF_SEL(initWithUnsignedShort_,
314
"initWithUnsignedShort:");
315
_NS_PRIVATE_DEF_SEL(initWithURL_,
316
"initWithURL:");
317
_NS_PRIVATE_DEF_SEL(integerValue,
318
"integerValue");
319
_NS_PRIVATE_DEF_SEL(intValue,
320
"intValue");
321
_NS_PRIVATE_DEF_SEL(isDeviceCertified_,
322
"isDeviceCertifiedFor:");
323
_NS_PRIVATE_DEF_SEL(isEqual_,
324
"isEqual:");
325
_NS_PRIVATE_DEF_SEL(isEqualToNumber_,
326
"isEqualToNumber:");
327
_NS_PRIVATE_DEF_SEL(isEqualToString_,
328
"isEqualToString:");
329
_NS_PRIVATE_DEF_SEL(isEqualToValue_,
330
"isEqualToValue:");
331
_NS_PRIVATE_DEF_SEL(isiOSAppOnMac,
332
"isiOSAppOnMac");
333
_NS_PRIVATE_DEF_SEL(isLoaded,
334
"isLoaded");
335
_NS_PRIVATE_DEF_SEL(isLowPowerModeEnabled,
336
"isLowPowerModeEnabled");
337
_NS_PRIVATE_DEF_SEL(isMacCatalystApp,
338
"isMacCatalystApp");
339
_NS_PRIVATE_DEF_SEL(isOperatingSystemAtLeastVersion_,
340
"isOperatingSystemAtLeastVersion:");
341
_NS_PRIVATE_DEF_SEL(keyEnumerator,
342
"keyEnumerator");
343
_NS_PRIVATE_DEF_SEL(length,
344
"length");
345
_NS_PRIVATE_DEF_SEL(lengthOfBytesUsingEncoding_,
346
"lengthOfBytesUsingEncoding:");
347
_NS_PRIVATE_DEF_SEL(load,
348
"load");
349
_NS_PRIVATE_DEF_SEL(loadAndReturnError_,
350
"loadAndReturnError:");
351
_NS_PRIVATE_DEF_SEL(localizedDescription,
352
"localizedDescription");
353
_NS_PRIVATE_DEF_SEL(localizedFailureReason,
354
"localizedFailureReason");
355
_NS_PRIVATE_DEF_SEL(localizedInfoDictionary,
356
"localizedInfoDictionary");
357
_NS_PRIVATE_DEF_SEL(localizedRecoveryOptions,
358
"localizedRecoveryOptions");
359
_NS_PRIVATE_DEF_SEL(localizedRecoverySuggestion,
360
"localizedRecoverySuggestion");
361
_NS_PRIVATE_DEF_SEL(localizedStringForKey_value_table_,
362
"localizedStringForKey:value:table:");
363
_NS_PRIVATE_DEF_SEL(lock,
364
"lock");
365
_NS_PRIVATE_DEF_SEL(longValue,
366
"longValue");
367
_NS_PRIVATE_DEF_SEL(longLongValue,
368
"longLongValue");
369
_NS_PRIVATE_DEF_SEL(mainBundle,
370
"mainBundle");
371
_NS_PRIVATE_DEF_SEL(maximumLengthOfBytesUsingEncoding_,
372
"maximumLengthOfBytesUsingEncoding:");
373
_NS_PRIVATE_DEF_SEL(methodSignatureForSelector_,
374
"methodSignatureForSelector:");
375
_NS_PRIVATE_DEF_SEL(mutableBytes,
376
"mutableBytes");
377
_NS_PRIVATE_DEF_SEL(bytes,
378
"bytes");
379
_NS_PRIVATE_DEF_SEL(name,
380
"name");
381
_NS_PRIVATE_DEF_SEL(nextObject,
382
"nextObject");
383
_NS_PRIVATE_DEF_SEL(numberWithBool_,
384
"numberWithBool:");
385
_NS_PRIVATE_DEF_SEL(numberWithChar_,
386
"numberWithChar:");
387
_NS_PRIVATE_DEF_SEL(numberWithDouble_,
388
"numberWithDouble:");
389
_NS_PRIVATE_DEF_SEL(numberWithFloat_,
390
"numberWithFloat:");
391
_NS_PRIVATE_DEF_SEL(numberWithInt_,
392
"numberWithInt:");
393
_NS_PRIVATE_DEF_SEL(numberWithLong_,
394
"numberWithLong:");
395
_NS_PRIVATE_DEF_SEL(numberWithLongLong_,
396
"numberWithLongLong:");
397
_NS_PRIVATE_DEF_SEL(numberWithShort_,
398
"numberWithShort:");
399
_NS_PRIVATE_DEF_SEL(numberWithUnsignedChar_,
400
"numberWithUnsignedChar:");
401
_NS_PRIVATE_DEF_SEL(numberWithUnsignedInt_,
402
"numberWithUnsignedInt:");
403
_NS_PRIVATE_DEF_SEL(numberWithUnsignedLong_,
404
"numberWithUnsignedLong:");
405
_NS_PRIVATE_DEF_SEL(numberWithUnsignedLongLong_,
406
"numberWithUnsignedLongLong:");
407
_NS_PRIVATE_DEF_SEL(numberWithUnsignedShort_,
408
"numberWithUnsignedShort:");
409
_NS_PRIVATE_DEF_SEL(objCType,
410
"objCType");
411
_NS_PRIVATE_DEF_SEL(object,
412
"object");
413
_NS_PRIVATE_DEF_SEL(objectAtIndex_,
414
"objectAtIndex:");
415
_NS_PRIVATE_DEF_SEL(objectEnumerator,
416
"objectEnumerator");
417
_NS_PRIVATE_DEF_SEL(objectForInfoDictionaryKey_,
418
"objectForInfoDictionaryKey:");
419
_NS_PRIVATE_DEF_SEL(objectForKey_,
420
"objectForKey:");
421
_NS_PRIVATE_DEF_SEL(operatingSystem,
422
"operatingSystem");
423
_NS_PRIVATE_DEF_SEL(operatingSystemVersion,
424
"operatingSystemVersion");
425
_NS_PRIVATE_DEF_SEL(operatingSystemVersionString,
426
"operatingSystemVersionString");
427
_NS_PRIVATE_DEF_SEL(pathForAuxiliaryExecutable_,
428
"pathForAuxiliaryExecutable:");
429
_NS_PRIVATE_DEF_SEL(performActivityWithOptions_reason_usingBlock_,
430
"performActivityWithOptions:reason:usingBlock:");
431
_NS_PRIVATE_DEF_SEL(performExpiringActivityWithReason_usingBlock_,
432
"performExpiringActivityWithReason:usingBlock:");
433
_NS_PRIVATE_DEF_SEL(physicalMemory,
434
"physicalMemory");
435
_NS_PRIVATE_DEF_SEL(pointerValue,
436
"pointerValue");
437
_NS_PRIVATE_DEF_SEL(preflightAndReturnError_,
438
"preflightAndReturnError:");
439
_NS_PRIVATE_DEF_SEL(privateFrameworksPath,
440
"privateFrameworksPath");
441
_NS_PRIVATE_DEF_SEL(privateFrameworksURL,
442
"privateFrameworksURL");
443
_NS_PRIVATE_DEF_SEL(processIdentifier,
444
"processIdentifier");
445
_NS_PRIVATE_DEF_SEL(processInfo,
446
"processInfo");
447
_NS_PRIVATE_DEF_SEL(processName,
448
"processName");
449
_NS_PRIVATE_DEF_SEL(processorCount,
450
"processorCount");
451
_NS_PRIVATE_DEF_SEL(rangeOfString_options_,
452
"rangeOfString:options:");
453
_NS_PRIVATE_DEF_SEL(release,
454
"release");
455
_NS_PRIVATE_DEF_SEL(removeObserver_,
456
"removeObserver:");
457
_NS_PRIVATE_DEF_SEL(resourcePath,
458
"resourcePath");
459
_NS_PRIVATE_DEF_SEL(resourceURL,
460
"resourceURL");
461
_NS_PRIVATE_DEF_SEL(respondsToSelector_,
462
"respondsToSelector:");
463
_NS_PRIVATE_DEF_SEL(retain,
464
"retain");
465
_NS_PRIVATE_DEF_SEL(retainCount,
466
"retainCount");
467
_NS_PRIVATE_DEF_SEL(setAutomaticTerminationSupportEnabled_,
468
"setAutomaticTerminationSupportEnabled:");
469
_NS_PRIVATE_DEF_SEL(setProcessName_,
470
"setProcessName:");
471
_NS_PRIVATE_DEF_SEL(sharedFrameworksPath,
472
"sharedFrameworksPath");
473
_NS_PRIVATE_DEF_SEL(sharedFrameworksURL,
474
"sharedFrameworksURL");
475
_NS_PRIVATE_DEF_SEL(sharedSupportPath,
476
"sharedSupportPath");
477
_NS_PRIVATE_DEF_SEL(sharedSupportURL,
478
"sharedSupportURL");
479
_NS_PRIVATE_DEF_SEL(shortValue,
480
"shortValue");
481
_NS_PRIVATE_DEF_SEL(showPools,
482
"showPools");
483
_NS_PRIVATE_DEF_SEL(signal,
484
"signal");
485
_NS_PRIVATE_DEF_SEL(string,
486
"string");
487
_NS_PRIVATE_DEF_SEL(stringValue,
488
"stringValue");
489
_NS_PRIVATE_DEF_SEL(stringWithString_,
490
"stringWithString:");
491
_NS_PRIVATE_DEF_SEL(stringWithCString_encoding_,
492
"stringWithCString:encoding:");
493
_NS_PRIVATE_DEF_SEL(stringByAppendingString_,
494
"stringByAppendingString:");
495
_NS_PRIVATE_DEF_SEL(systemUptime,
496
"systemUptime");
497
_NS_PRIVATE_DEF_SEL(thermalState,
498
"thermalState");
499
_NS_PRIVATE_DEF_SEL(unload,
500
"unload");
501
_NS_PRIVATE_DEF_SEL(unlock,
502
"unlock");
503
_NS_PRIVATE_DEF_SEL(unsignedCharValue,
504
"unsignedCharValue");
505
_NS_PRIVATE_DEF_SEL(unsignedIntegerValue,
506
"unsignedIntegerValue");
507
_NS_PRIVATE_DEF_SEL(unsignedIntValue,
508
"unsignedIntValue");
509
_NS_PRIVATE_DEF_SEL(unsignedLongValue,
510
"unsignedLongValue");
511
_NS_PRIVATE_DEF_SEL(unsignedLongLongValue,
512
"unsignedLongLongValue");
513
_NS_PRIVATE_DEF_SEL(unsignedShortValue,
514
"unsignedShortValue");
515
_NS_PRIVATE_DEF_SEL(URLForAuxiliaryExecutable_,
516
"URLForAuxiliaryExecutable:");
517
_NS_PRIVATE_DEF_SEL(userInfo,
518
"userInfo");
519
_NS_PRIVATE_DEF_SEL(userName,
520
"userName");
521
_NS_PRIVATE_DEF_SEL(UTF8String,
522
"UTF8String");
523
_NS_PRIVATE_DEF_SEL(valueWithBytes_objCType_,
524
"valueWithBytes:objCType:");
525
_NS_PRIVATE_DEF_SEL(valueWithPointer_,
526
"valueWithPointer:");
527
_NS_PRIVATE_DEF_SEL(wait,
528
"wait");
529
_NS_PRIVATE_DEF_SEL(waitUntilDate_,
530
"waitUntilDate:");
531
} // Class
532
} // Private
533
} // MTL
534
535
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
536
537