-
-
Notifications
You must be signed in to change notification settings - Fork 165
/
Copy pathcore_objc.gen.go
executable file
·10655 lines (8920 loc) · 311 KB
/
core_objc.gen.go
1
2
3
4
5
6
7
8
9
10
11
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package core
import (
"github.com/progrium/macdriver/objc"
"unsafe"
)
/*
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -lobjc -framework AppKit -framework QuartzCore -framework Foundation
#define __OBJC2__ 1
#include <objc/message.h>
#include <stdlib.h>
#include <AppKit/AppKit.h>
#include <QuartzCore/QuartzCore.h>
#include <Foundation/Foundation.h>
bool core_convertObjCBool(BOOL b) {
if (b) { return true; }
return false;
}
// Creates a NSString from a C string
static void *createNSStringFromCString(char *cString) {
return [NSString stringWithCString: cString encoding: NSUTF8StringEncoding];
}
// Creates a C string from a NSString
static char *createCStringFromNSString(void *objcString)
{
return [objcString UTF8String];
}
void* NSObject_type_Alloc() {
return [NSObject
alloc];
}
void NSObject_type_Initialize() {
[NSObject
initialize];
}
void NSObject_type_Load() {
[NSObject
load];
}
void* NSObject_type_New() {
return [NSObject
new];
}
BOOL NSObject_type_InstancesRespondToSelector(void* aSelector) {
return [NSObject
instancesRespondToSelector: aSelector];
}
void* NSObject_type_Description() {
return [NSObject
description];
}
void NSObject_type_CancelPreviousPerformRequestsWithTarget(void* aTarget) {
[NSObject
cancelPreviousPerformRequestsWithTarget: aTarget];
}
void NSObject_type_CancelPreviousPerformRequestsWithTargetSelectorObject(void* aTarget, void* aSelector, void* anArgument) {
[NSObject
cancelPreviousPerformRequestsWithTarget: aTarget
selector: aSelector
object: anArgument];
}
BOOL NSObject_type_ResolveClassMethod(void* sel) {
return [NSObject
resolveClassMethod: sel];
}
BOOL NSObject_type_ResolveInstanceMethod(void* sel) {
return [NSObject
resolveInstanceMethod: sel];
}
void* NSObject_type_ClassFallbacksForKeyedArchiver() {
return [NSObject
classFallbacksForKeyedArchiver];
}
void NSObject_type_SetVersion(long aVersion) {
[NSObject
setVersion: aVersion];
}
long NSObject_type_Version() {
return [NSObject
version];
}
void* NSObject_type_DebugDescription() {
return [NSObject
debugDescription];
}
unsigned long NSObject_type_Hash() {
return [NSObject
hash];
}
void* CALayer_type_Alloc() {
return [CALayer
alloc];
}
void* CALayer_type_Layer() {
return [CALayer
layer];
}
BOOL CALayer_type_NeedsDisplayForKey(void* key) {
return [CALayer
needsDisplayForKey: key];
}
void* CALayer_type_DefaultActionForKey(void* event) {
return [CALayer
defaultActionForKey: event];
}
void* CALayer_type_DefaultValueForKey(void* key) {
return [CALayer
defaultValueForKey: key];
}
void* NSArray_type_Alloc() {
return [NSArray
alloc];
}
void* NSArray_type_Array() {
return [NSArray
array];
}
void* NSArray_type_ArrayWithArray(void* array) {
return [NSArray
arrayWithArray: array];
}
void* NSArray_type_ArrayWithObject(void* anObject) {
return [NSArray
arrayWithObject: anObject];
}
void* NSArray_type_ArrayWithContentsOfURLError(void* url, void* error) {
return [NSArray
arrayWithContentsOfURL: url
error: error];
}
void* NSAttributedString_type_Alloc() {
return [NSAttributedString
alloc];
}
void* NSAttributedString_type_TextTypes() {
return [NSAttributedString
textTypes];
}
void* NSAttributedString_type_TextUnfilteredTypes() {
return [NSAttributedString
textUnfilteredTypes];
}
void* NSData_type_Alloc() {
return [NSData
alloc];
}
void* NSData_type_Data() {
return [NSData
data];
}
void* NSData_type_DataWithBytesLength(void* bytes, unsigned long length) {
return [NSData
dataWithBytes: bytes
length: length];
}
void* NSData_type_DataWithBytesNoCopyLength(void* bytes, unsigned long length) {
return [NSData
dataWithBytesNoCopy: bytes
length: length];
}
void* NSData_type_DataWithBytesNoCopyLengthFreeWhenDone(void* bytes, unsigned long length, BOOL b) {
return [NSData
dataWithBytesNoCopy: bytes
length: length
freeWhenDone: b];
}
void* NSData_type_DataWithData(void* data) {
return [NSData
dataWithData: data];
}
void* NSData_type_DataWithContentsOfFile(void* path) {
return [NSData
dataWithContentsOfFile: path];
}
void* NSData_type_DataWithContentsOfURL(void* url) {
return [NSData
dataWithContentsOfURL: url];
}
void* NSMutableData_type_Alloc() {
return [NSMutableData
alloc];
}
void* NSMutableData_type_DataWithCapacity(unsigned long aNumItems) {
return [NSMutableData
dataWithCapacity: aNumItems];
}
void* NSMutableData_type_DataWithLength(unsigned long length) {
return [NSMutableData
dataWithLength: length];
}
void* NSDictionary_type_Alloc() {
return [NSDictionary
alloc];
}
void* NSDictionary_type_Dictionary() {
return [NSDictionary
dictionary];
}
void* NSDictionary_type_DictionaryWithObjectsForKeys(void* objects, void* keys) {
return [NSDictionary
dictionaryWithObjects: objects
forKeys: keys];
}
void* NSDictionary_type_DictionaryWithObjectForKey(void* object, void* key) {
return [NSDictionary
dictionaryWithObject: object
forKey: key];
}
void* NSDictionary_type_DictionaryWithDictionary(void* dict) {
return [NSDictionary
dictionaryWithDictionary: dict];
}
void* NSDictionary_type_DictionaryWithContentsOfURLError(void* url, void* error) {
return [NSDictionary
dictionaryWithContentsOfURL: url
error: error];
}
void* NSDictionary_type_SharedKeySetForKeys(void* keys) {
return [NSDictionary
sharedKeySetForKeys: keys];
}
void* NSMutableDictionary_type_Alloc() {
return [NSMutableDictionary
alloc];
}
void* NSMutableDictionary_type_DictionaryWithCapacity(unsigned long numItems) {
return [NSMutableDictionary
dictionaryWithCapacity: numItems];
}
void* NSMutableDictionary_type_DictionaryWithSharedKeySet(void* keyset) {
return [NSMutableDictionary
dictionaryWithSharedKeySet: keyset];
}
void* NSMutableDictionary_type_DictionaryWithOBEXHeadersData(void* inHeadersData) {
return [NSMutableDictionary
dictionaryWithOBEXHeadersData: inHeadersData];
}
void* NSMutableDictionary_type_DictionaryWithContentsOfFile(void* path) {
return [NSMutableDictionary
dictionaryWithContentsOfFile: path];
}
void* NSMutableDictionary_type_DictionaryWithContentsOfURL(void* url) {
return [NSMutableDictionary
dictionaryWithContentsOfURL: url];
}
void* NSError_type_Alloc() {
return [NSError
alloc];
}
void* NSNumber_type_Alloc() {
return [NSNumber
alloc];
}
void* NSNumber_type_NumberWithBool(BOOL value) {
return [NSNumber
numberWithBool: value];
}
void* NSNumber_type_NumberWithInt(int value) {
return [NSNumber
numberWithInt: value];
}
void* NSNumber_type_NumberWithInteger(long value) {
return [NSNumber
numberWithInteger: value];
}
void* NSNumber_type_NumberWithUnsignedInt(int value) {
return [NSNumber
numberWithUnsignedInt: value];
}
void* NSNumber_type_NumberWithUnsignedInteger(unsigned long value) {
return [NSNumber
numberWithUnsignedInteger: value];
}
void* NSRunLoop_type_Alloc() {
return [NSRunLoop
alloc];
}
void* NSRunLoop_type_CurrentRunLoop() {
return [NSRunLoop
currentRunLoop];
}
void* NSRunLoop_type_MainRunLoop() {
return [NSRunLoop
mainRunLoop];
}
void* NSString_type_Alloc() {
return [NSString
alloc];
}
void* NSString_type_String() {
return [NSString
string];
}
void* NSString_type_LocalizedUserNotificationStringForKeyArguments(void* key, void* arguments) {
return [NSString
localizedUserNotificationStringForKey: key
arguments: arguments];
}
void* NSString_type_StringWithString(void* string) {
return [NSString
stringWithString: string];
}
void* NSString_type_StringWithContentsOfFileEncodingError(void* path, unsigned long enc, void* error) {
return [NSString
stringWithContentsOfFile: path
encoding: enc
error: error];
}
void* NSString_type_StringWithContentsOfURLEncodingError(void* url, unsigned long enc, void* error) {
return [NSString
stringWithContentsOfURL: url
encoding: enc
error: error];
}
void* NSString_type_LocalizedNameOfStringEncoding(unsigned long encoding) {
return [NSString
localizedNameOfStringEncoding: encoding];
}
void* NSString_type_PathWithComponents(void* components) {
return [NSString
pathWithComponents: components];
}
unsigned long NSString_type_DefaultCStringEncoding() {
return [NSString
defaultCStringEncoding];
}
void* NSThread_type_Alloc() {
return [NSThread
alloc];
}
void NSThread_type_DetachNewThreadSelectorToTargetWithObject(void* selector, void* target, void* argument) {
[NSThread
detachNewThreadSelector: selector
toTarget: target
withObject: argument];
}
void NSThread_type_Exit() {
[NSThread
exit];
}
BOOL NSThread_type_IsMultiThreaded() {
return [NSThread
isMultiThreaded];
}
BOOL NSThread_type_IsMainThread() {
return [NSThread
isMainThread];
}
void* NSThread_type_MainThread() {
return [NSThread
mainThread];
}
void* NSThread_type_CurrentThread() {
return [NSThread
currentThread];
}
void* NSThread_type_CallStackReturnAddresses() {
return [NSThread
callStackReturnAddresses];
}
void* NSThread_type_CallStackSymbols() {
return [NSThread
callStackSymbols];
}
void* NSURL_type_Alloc() {
return [NSURL
alloc];
}
void* NSURL_type_URLWithString(void* URLString) {
return [NSURL
URLWithString: URLString];
}
void* NSURL_type_URLWithStringRelativeToURL(void* URLString, void* baseURL) {
return [NSURL
URLWithString: URLString
relativeToURL: baseURL];
}
void* NSURL_type_FileURLWithPathIsDirectory(void* path, BOOL isDir) {
return [NSURL
fileURLWithPath: path
isDirectory: isDir];
}
void* NSURL_type_FileURLWithPathRelativeToURL(void* path, void* baseURL) {
return [NSURL
fileURLWithPath: path
relativeToURL: baseURL];
}
void* NSURL_type_FileURLWithPathIsDirectoryRelativeToURL(void* path, BOOL isDir, void* baseURL) {
return [NSURL
fileURLWithPath: path
isDirectory: isDir
relativeToURL: baseURL];
}
void* NSURL_type_FileURLWithPath(void* path) {
return [NSURL
fileURLWithPath: path];
}
void* NSURL_type_FileURLWithPathComponents(void* components) {
return [NSURL
fileURLWithPathComponents: components];
}
void* NSURL_type_AbsoluteURLWithDataRepresentationRelativeToURL(void* data, void* baseURL) {
return [NSURL
absoluteURLWithDataRepresentation: data
relativeToURL: baseURL];
}
void* NSURL_type_URLWithDataRepresentationRelativeToURL(void* data, void* baseURL) {
return [NSURL
URLWithDataRepresentation: data
relativeToURL: baseURL];
}
void* NSURL_type_BookmarkDataWithContentsOfURLError(void* bookmarkFileURL, void* error) {
return [NSURL
bookmarkDataWithContentsOfURL: bookmarkFileURL
error: error];
}
void* NSURL_type_ResourceValuesForKeysFromBookmarkData(void* keys, void* bookmarkData) {
return [NSURL
resourceValuesForKeys: keys
fromBookmarkData: bookmarkData];
}
void* NSURLRequest_type_Alloc() {
return [NSURLRequest
alloc];
}
void* NSURLRequest_type_RequestWithURL(void* URL) {
return [NSURLRequest
requestWithURL: URL];
}
BOOL NSURLRequest_type_SupportsSecureCoding() {
return [NSURLRequest
supportsSecureCoding];
}
void* NSUserDefaults_type_Alloc() {
return [NSUserDefaults
alloc];
}
void NSUserDefaults_type_ResetStandardUserDefaults() {
[NSUserDefaults
resetStandardUserDefaults];
}
void* NSUserDefaults_type_StandardUserDefaults() {
return [NSUserDefaults
standardUserDefaults];
}
void* NSMutableString_type_Alloc() {
return [NSMutableString
alloc];
}
void* NSMutableString_type_StringWithCapacity(unsigned long capacity) {
return [NSMutableString
stringWithCapacity: capacity];
}
void* NSObject_inst_ActionProperty(void *id) {
return [(NSObject*)id
actionProperty];
}
BOOL NSObject_inst_AttemptRecoveryFromErrorOptionIndex(void *id, void* error, unsigned long recoveryOptionIndex) {
return [(NSObject*)id
attemptRecoveryFromError: error
optionIndex: recoveryOptionIndex];
}
void NSObject_inst_AttemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo(void *id, void* error, unsigned long recoveryOptionIndex, void* delegate, void* didRecoverSelector, void* contextInfo) {
[(NSObject*)id
attemptRecoveryFromError: error
optionIndex: recoveryOptionIndex
delegate: delegate
didRecoverSelector: didRecoverSelector
contextInfo: contextInfo];
}
void* NSObject_inst_Candidates(void *id, void* sender) {
return [(NSObject*)id
candidates: sender];
}
void NSObject_inst_CommitComposition(void *id, void* sender) {
[(NSObject*)id
commitComposition: sender];
}
void* NSObject_inst_ComposedString(void *id, void* sender) {
return [(NSObject*)id
composedString: sender];
}
void* NSObject_inst_Copy(void *id) {
return [(NSObject*)id
copy];
}
void* NSObject_inst_CopyScriptingValueForKeyWithProperties(void *id, void* value, void* key, void* properties) {
return [(NSObject*)id
copyScriptingValue: value
forKey: key
withProperties: properties];
}
void NSObject_inst_Dealloc(void *id) {
[(NSObject*)id
dealloc];
}
BOOL NSObject_inst_DidCommandBySelectorClient(void *id, void* aSelector, void* sender) {
return [(NSObject*)id
didCommandBySelector: aSelector
client: sender];
}
BOOL NSObject_inst_DoesContain(void *id, void* object) {
return [(NSObject*)id
doesContain: object];
}
void NSObject_inst_DoesNotRecognizeSelector(void *id, void* aSelector) {
[(NSObject*)id
doesNotRecognizeSelector: aSelector];
}
void* NSObject_inst_ForwardingTargetForSelector(void *id, void* aSelector) {
return [(NSObject*)id
forwardingTargetForSelector: aSelector];
}
void* NSObject_inst_ImageRepresentation(void *id) {
return [(NSObject*)id
imageRepresentation];
}
void* NSObject_inst_ImageRepresentationType(void *id) {
return [(NSObject*)id
imageRepresentationType];
}
void* NSObject_inst_ImageSubtitle(void *id) {
return [(NSObject*)id
imageSubtitle];
}
void* NSObject_inst_ImageTitle(void *id) {
return [(NSObject*)id
imageTitle];
}
void* NSObject_inst_ImageUID(void *id) {
return [(NSObject*)id
imageUID];
}
unsigned long NSObject_inst_ImageVersion(void *id) {
return [(NSObject*)id
imageVersion];
}
void* NSObject_inst_Init(void *id) {
return [(NSObject*)id
init];
}
BOOL NSObject_inst_InputTextClient(void *id, void* string, void* sender) {
return [(NSObject*)id
inputText: string
client: sender];
}
BOOL NSObject_inst_InputTextKeyModifiersClient(void *id, void* string, long keyCode, unsigned long flags, void* sender) {
return [(NSObject*)id
inputText: string
key: keyCode
modifiers: flags
client: sender];
}
void* NSObject_inst_InverseForRelationshipKey(void *id, void* relationshipKey) {
return [(NSObject*)id
inverseForRelationshipKey: relationshipKey];
}
BOOL NSObject_inst_IsCaseInsensitiveLike(void *id, void* object) {
return [(NSObject*)id
isCaseInsensitiveLike: object];
}
BOOL NSObject_inst_IsEqualTo(void *id, void* object) {
return [(NSObject*)id
isEqualTo: object];
}
BOOL NSObject_inst_IsGreaterThan(void *id, void* object) {
return [(NSObject*)id
isGreaterThan: object];
}
BOOL NSObject_inst_IsGreaterThanOrEqualTo(void *id, void* object) {
return [(NSObject*)id
isGreaterThanOrEqualTo: object];
}
BOOL NSObject_inst_IsLessThan(void *id, void* object) {
return [(NSObject*)id
isLessThan: object];
}
BOOL NSObject_inst_IsLessThanOrEqualTo(void *id, void* object) {
return [(NSObject*)id
isLessThanOrEqualTo: object];
}
BOOL NSObject_inst_IsLike(void *id, void* object) {
return [(NSObject*)id
isLike: object];
}
BOOL NSObject_inst_IsNotEqualTo(void *id, void* object) {
return [(NSObject*)id
isNotEqualTo: object];
}
void* NSObject_inst_MutableCopy(void *id) {
return [(NSObject*)id
mutableCopy];
}
void* NSObject_inst_OriginalString(void *id, void* sender) {
return [(NSObject*)id
originalString: sender];
}
void NSObject_inst_PerformSelectorOnThreadWithObjectWaitUntilDone(void *id, void* aSelector, void* thr, void* arg, BOOL wait) {
[(NSObject*)id
performSelector: aSelector
onThread: thr
withObject: arg
waitUntilDone: wait];
}
void NSObject_inst_PerformSelectorOnThreadWithObjectWaitUntilDoneModes(void *id, void* aSelector, void* thr, void* arg, BOOL wait, void* array) {
[(NSObject*)id
performSelector: aSelector
onThread: thr
withObject: arg
waitUntilDone: wait
modes: array];
}
void NSObject_inst_PerformSelectorInBackgroundWithObject(void *id, void* aSelector, void* arg) {
[(NSObject*)id
performSelectorInBackground: aSelector
withObject: arg];
}
void NSObject_inst_PerformSelectorOnMainThreadWithObjectWaitUntilDone(void *id, void* aSelector, void* arg, BOOL wait) {
[(NSObject*)id
performSelectorOnMainThread: aSelector
withObject: arg
waitUntilDone: wait];
}
void NSObject_inst_PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(void *id, void* aSelector, void* arg, BOOL wait, void* array) {
[(NSObject*)id
performSelectorOnMainThread: aSelector
withObject: arg
waitUntilDone: wait
modes: array];
}
void* NSObject_inst_AutoContentAccessingProxy(void *id) {
return [(NSObject*)id
autoContentAccessingProxy];
}
void* NSObject_inst_AttributeKeys(void *id) {
return [(NSObject*)id
attributeKeys];
}
void* NSObject_inst_ToManyRelationshipKeys(void *id) {
return [(NSObject*)id
toManyRelationshipKeys];
}
void* NSObject_inst_ToOneRelationshipKeys(void *id) {
return [(NSObject*)id
toOneRelationshipKeys];
}
void* NSObject_inst_ClassName(void *id) {
return [(NSObject*)id
className];
}
void* NSObject_inst_ScriptingProperties(void *id) {
return [(NSObject*)id
scriptingProperties];
}
void NSObject_inst_SetScriptingProperties(void *id, void* value) {
[(NSObject*)id
setScriptingProperties: value];
}
BOOL NSObject_inst_AccessibilityNotifiesWhenDestroyed(void *id) {
return [(NSObject*)id
accessibilityNotifiesWhenDestroyed];
}
BOOL NSObject_inst_IsSelectable(void *id) {
return [(NSObject*)id
isSelectable];
}
void* CALayer_inst_ActionForKey(void *id, void* event) {
return [(CALayer*)id
actionForKey: event];
}
void CALayer_inst_AddSublayer(void *id, void* layer) {
[(CALayer*)id
addSublayer: layer];
}
void* CALayer_inst_AnimationKeys(void *id) {
return [(CALayer*)id
animationKeys];
}
BOOL CALayer_inst_ContentsAreFlipped(void *id) {
return [(CALayer*)id
contentsAreFlipped];
}
NSRect CALayer_inst_ConvertRectFromLayer(void *id, NSRect r, void* l) {
return [(CALayer*)id
convertRect: r
fromLayer: l];
}
NSRect CALayer_inst_ConvertRectToLayer(void *id, NSRect r, void* l) {
return [(CALayer*)id
convertRect: r
toLayer: l];
}
void CALayer_inst_Display(void *id) {
[(CALayer*)id
display];
}
void CALayer_inst_DisplayIfNeeded(void *id) {
[(CALayer*)id
displayIfNeeded];
}
void* CALayer_inst_Init(void *id) {
return [(CALayer*)id
init];
}
void* CALayer_inst_InitWithLayer(void *id, void* layer) {
return [(CALayer*)id
initWithLayer: layer];
}
void CALayer_inst_InsertSublayerAbove(void *id, void* layer, void* sibling) {
[(CALayer*)id
insertSublayer: layer
above: sibling];
}
void CALayer_inst_InsertSublayerAtIndex(void *id, void* layer, int idx) {
[(CALayer*)id
insertSublayer: layer
atIndex: idx];
}
void CALayer_inst_InsertSublayerBelow(void *id, void* layer, void* sibling) {
[(CALayer*)id
insertSublayer: layer
below: sibling];
}
void CALayer_inst_LayoutIfNeeded(void *id) {
[(CALayer*)id
layoutIfNeeded];
}
void CALayer_inst_LayoutSublayers(void *id) {
[(CALayer*)id
layoutSublayers];
}
void* CALayer_inst_ModelLayer(void *id) {
return [(CALayer*)id
modelLayer];
}
BOOL CALayer_inst_NeedsDisplay(void *id) {
return [(CALayer*)id
needsDisplay];
}
BOOL CALayer_inst_NeedsLayout(void *id) {
return [(CALayer*)id
needsLayout];
}
NSSize CALayer_inst_PreferredFrameSize(void *id) {
return [(CALayer*)id
preferredFrameSize];
}
void* CALayer_inst_PresentationLayer(void *id) {
return [(CALayer*)id
presentationLayer];
}
void CALayer_inst_RemoveAllAnimations(void *id) {
[(CALayer*)id
removeAllAnimations];
}
void CALayer_inst_RemoveAnimationForKey(void *id, void* key) {
[(CALayer*)id
removeAnimationForKey: key];
}
void CALayer_inst_RemoveFromSuperlayer(void *id) {
[(CALayer*)id
removeFromSuperlayer];
}
void CALayer_inst_ReplaceSublayerWith(void *id, void* oldLayer, void* newLayer) {
[(CALayer*)id
replaceSublayer: oldLayer
with: newLayer];
}
void CALayer_inst_ResizeSublayersWithOldSize(void *id, NSSize size) {
[(CALayer*)id
resizeSublayersWithOldSize: size];
}
void CALayer_inst_ResizeWithOldSuperlayerSize(void *id, NSSize size) {
[(CALayer*)id
resizeWithOldSuperlayerSize: size];
}
void CALayer_inst_ScrollRectToVisible(void *id, NSRect r) {
[(CALayer*)id
scrollRectToVisible: r];
}
void CALayer_inst_SetNeedsDisplay(void *id) {
[(CALayer*)id
setNeedsDisplay];
}
void CALayer_inst_SetNeedsDisplayInRect(void *id, NSRect r) {
[(CALayer*)id
setNeedsDisplayInRect: r];
}
void CALayer_inst_SetNeedsLayout(void *id) {
[(CALayer*)id
setNeedsLayout];
}
BOOL CALayer_inst_ShouldArchiveValueForKey(void *id, void* key) {
return [(CALayer*)id
shouldArchiveValueForKey: key];
}
void* CALayer_inst_Delegate(void *id) {
return [(CALayer*)id
delegate];
}
void CALayer_inst_SetDelegate(void *id, void* value) {
[(CALayer*)id
setDelegate: value];
}
void* CALayer_inst_Contents(void *id) {
return [(CALayer*)id
contents];
}
void CALayer_inst_SetContents(void *id, void* value) {
[(CALayer*)id
setContents: value];
}
NSRect CALayer_inst_ContentsRect(void *id) {
return [(CALayer*)id
contentsRect];
}
void CALayer_inst_SetContentsRect(void *id, NSRect value) {
[(CALayer*)id
setContentsRect: value];
}
NSRect CALayer_inst_ContentsCenter(void *id) {
return [(CALayer*)id
contentsCenter];
}
void CALayer_inst_SetContentsCenter(void *id, NSRect value) {
[(CALayer*)id
setContentsCenter: value];
}
BOOL CALayer_inst_IsHidden(void *id) {
return [(CALayer*)id
isHidden];
}
void CALayer_inst_SetHidden(void *id, BOOL value) {
[(CALayer*)id
setHidden: value];
}
BOOL CALayer_inst_MasksToBounds(void *id) {
return [(CALayer*)id
masksToBounds];
}
void CALayer_inst_SetMasksToBounds(void *id, BOOL value) {
[(CALayer*)id
setMasksToBounds: value];
}
void* CALayer_inst_Mask(void *id) {
return [(CALayer*)id
mask];
}
void CALayer_inst_SetMask(void *id, void* value) {
[(CALayer*)id
setMask: value];
}
BOOL CALayer_inst_IsDoubleSided(void *id) {
return [(CALayer*)id
isDoubleSided];
}
void CALayer_inst_SetDoubleSided(void *id, BOOL value) {
[(CALayer*)id
setDoubleSided: value];
}
double CALayer_inst_CornerRadius(void *id) {
return [(CALayer*)id
cornerRadius];
}
void CALayer_inst_SetCornerRadius(void *id, double value) {
[(CALayer*)id
setCornerRadius: value];
}
double CALayer_inst_BorderWidth(void *id) {
return [(CALayer*)id
borderWidth];
}
void CALayer_inst_SetBorderWidth(void *id, double value) {
[(CALayer*)id
setBorderWidth: value];
}
double CALayer_inst_ShadowRadius(void *id) {
return [(CALayer*)id
shadowRadius];
}
void CALayer_inst_SetShadowRadius(void *id, double value) {
[(CALayer*)id
setShadowRadius: value];
}
NSSize CALayer_inst_ShadowOffset(void *id) {
return [(CALayer*)id
shadowOffset];
}
void CALayer_inst_SetShadowOffset(void *id, NSSize value) {