1use crate::{objc_class, objc_object};
7#[cfg(any(doc, feature = "gnustep-1-7", feature = "unstable-objfw"))]
8use crate::{objc_selector, IMP};
9
10#[repr(C)]
12#[derive(Debug, Copy, Clone)]
13pub struct objc_super {
15 pub receiver: *mut objc_object,
17 pub super_class: *const objc_class,
21}
22
23extern_c_unwind! {
29 #[cfg(any(doc, feature = "gnustep-1-7", feature = "unstable-objfw"))]
30 pub fn objc_msg_lookup(receiver: *mut objc_object, sel: *const objc_selector) -> IMP;
31 #[cfg(any(doc, feature = "unstable-objfw"))]
32 pub fn objc_msg_lookup_stret(receiver: *mut objc_object, sel: *const objc_selector) -> IMP;
33 #[cfg(any(doc, feature = "gnustep-1-7", feature = "unstable-objfw"))]
34 pub fn objc_msg_lookup_super(sup: *const objc_super, sel: *const objc_selector) -> IMP;
35 #[cfg(any(doc, feature = "unstable-objfw"))]
36 pub fn objc_msg_lookup_super_stret(sup: *const objc_super, sel: *const objc_selector) -> IMP;
37 #[cfg(any(doc, not(feature = "unstable-objfw")))]
44 pub fn objc_msgSend();
45 #[cfg(any(doc, target_vendor = "apple"))]
48 pub fn objc_msgSendSuper();
49 #[cfg(any(doc, target_vendor = "apple"))]
53 pub fn method_invoke();
54 #[cfg(any(doc, target_vendor = "apple"))]
55 pub fn _objc_msgForward();
56 pub fn class_getMethodImplementation();
57
58 #[cfg(any(doc, all(not(feature = "unstable-objfw"), not(target_arch = "aarch64"))))]
61 pub fn objc_msgSend_stret();
62 #[cfg(any(doc, all(target_vendor = "apple", not(target_arch = "aarch64"))))]
65 pub fn objc_msgSendSuper_stret();
66 #[cfg(any(doc, all(target_vendor = "apple", not(target_arch = "aarch64"))))]
70 pub fn method_invoke_stret();
71 #[cfg(any(doc, all(target_vendor = "apple", not(target_arch = "aarch64"))))]
72 pub fn _objc_msgForward_stret();
73 #[cfg(any(doc, feature = "unstable-objfw", not(target_arch = "aarch64")))]
74 pub fn class_getMethodImplementation_stret();
75
76 #[cfg(any(doc, all(not(feature = "unstable-objfw"), any(target_arch = "x86_64", target_arch = "x86"))))]
79 pub fn objc_msgSend_fpret();
80 #[cfg(any(doc, all(target_vendor = "apple", target_arch = "x86_64")))]
85 pub fn objc_msgSend_fp2ret();
86 }