blob: 54cfc897c5527d647c592b00d0218e4d0b20eaf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use runtime::Imp;
extern {
fn objc_msgSend();
fn objc_msgSendSuper();
}
pub fn msg_send_fn<R>() -> Imp {
// stret is not even available in arm64.
// <https://twitter.com/gparker/status/378079715824660480>
objc_msgSend
}
pub fn msg_send_super_fn<R>() -> Imp {
objc_msgSendSuper
}
|