-
Notifications
You must be signed in to change notification settings - Fork 52
/
objective_c_bindings_generated.m
53 lines (45 loc) · 1.78 KB
/
objective_c_bindings_generated.m
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
#include <stdint.h>
#import "foundation.h"
#import "input_stream_adapter.h"
#import "proxy.h"
#if !__has_feature(objc_arc)
#error "This file must be compiled with ARC enabled"
#endif
id objc_retain(id);
id objc_retainBlock(id);
Protocol* _ObjectiveCBindings_NSStreamDelegate() { return @protocol(NSStreamDelegate); }
typedef void (^_ListenerTrampoline)(id arg0, id arg1, id arg2);
_ListenerTrampoline _ObjectiveCBindings_wrapListenerBlock_1j2nt86(_ListenerTrampoline block) NS_RETURNS_RETAINED {
return ^void(id arg0, id arg1, id arg2) {
objc_retainBlock(block);
block(objc_retainBlock(arg0), objc_retain(arg1), objc_retain(arg2));
};
}
typedef void (^_ListenerTrampoline1)(void * arg0);
_ListenerTrampoline1 _ObjectiveCBindings_wrapListenerBlock_ovsamd(_ListenerTrampoline1 block) NS_RETURNS_RETAINED {
return ^void(void * arg0) {
objc_retainBlock(block);
block(arg0);
};
}
typedef void (^_ListenerTrampoline2)(void * arg0, id arg1);
_ListenerTrampoline2 _ObjectiveCBindings_wrapListenerBlock_wjovn7(_ListenerTrampoline2 block) NS_RETURNS_RETAINED {
return ^void(void * arg0, id arg1) {
objc_retainBlock(block);
block(arg0, objc_retain(arg1));
};
}
typedef void (^_ListenerTrampoline3)(void * arg0, id arg1, NSStreamEvent arg2);
_ListenerTrampoline3 _ObjectiveCBindings_wrapListenerBlock_18d6mda(_ListenerTrampoline3 block) NS_RETURNS_RETAINED {
return ^void(void * arg0, id arg1, NSStreamEvent arg2) {
objc_retainBlock(block);
block(arg0, objc_retain(arg1), arg2);
};
}
typedef void (^_ListenerTrampoline4)(id arg0, id arg1);
_ListenerTrampoline4 _ObjectiveCBindings_wrapListenerBlock_wjvic9(_ListenerTrampoline4 block) NS_RETURNS_RETAINED {
return ^void(id arg0, id arg1) {
objc_retainBlock(block);
block(objc_retain(arg0), objc_retain(arg1));
};
}