use crate::{objc_class, objc_object};
#[cfg(any(doc, gnustep, objfw))]
use crate::{objc_selector, IMP};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct objc_super {
pub receiver: *mut objc_object,
pub super_class: *const objc_class,
}
extern_c_unwind! {
#[cfg(any(doc, gnustep, objfw))]
pub fn objc_msg_lookup(receiver: *mut objc_object, sel: *const objc_selector) -> IMP;
#[cfg(any(doc, objfw))]
pub fn objc_msg_lookup_stret(receiver: *mut objc_object, sel: *const objc_selector) -> IMP;
#[cfg(any(doc, gnustep, objfw))]
pub fn objc_msg_lookup_super(sup: *const objc_super, sel: *const objc_selector) -> IMP;
#[cfg(any(doc, objfw))]
pub fn objc_msg_lookup_super_stret(sup: *const objc_super, sel: *const objc_selector) -> IMP;
#[cfg(any(doc, not(objfw)))]
pub fn objc_msgSend();
#[cfg(any(doc, apple))]
pub fn objc_msgSendSuper();
#[cfg(any(doc, apple))]
pub fn method_invoke();
#[cfg(any(doc, apple))]
pub fn _objc_msgForward();
pub fn class_getMethodImplementation();
#[cfg(any(doc, all(not(objfw), not(target_arch = "aarch64"))))]
pub fn objc_msgSend_stret();
#[cfg(any(doc, all(apple, not(target_arch = "aarch64"))))]
pub fn objc_msgSendSuper_stret();
#[cfg(any(doc, all(apple, not(target_arch = "aarch64"))))]
pub fn method_invoke_stret();
#[cfg(any(doc, all(apple, not(target_arch = "aarch64"))))]
pub fn _objc_msgForward_stret();
#[cfg(any(doc, objfw, not(target_arch = "aarch64")))]
pub fn class_getMethodImplementation_stret();
#[cfg(any(doc, all(not(objfw), any(target_arch = "x86_64", target_arch = "x86"))))]
pub fn objc_msgSend_fpret();
#[cfg(any(doc, all(apple, target_arch = "x86_64")))]
pub fn objc_msgSend_fp2ret();
}