File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44//!
55//! TODO: Some of these are only supported on _some_ GNUStep targets!
66use crate :: { objc_class, objc_object} ;
7- #[ cfg( gnustep) ]
7+ #[ cfg( any ( gnustep, objfw ) ) ]
88use crate :: { objc_selector, IMP } ;
99
1010/// Specifies data used when sending messages to superclasses.
@@ -21,10 +21,14 @@ pub struct objc_super {
2121}
2222
2323extern_c ! {
24- #[ cfg( gnustep) ]
24+ #[ cfg( any ( gnustep, objfw ) ) ]
2525 pub fn objc_msg_lookup( receiver: * mut objc_object, sel: * const objc_selector) -> IMP ;
26- #[ cfg( gnustep) ]
26+ #[ cfg( objfw) ]
27+ pub fn objc_msg_lookup_stret( receiver: * mut objc_object, sel: * const objc_selector) -> IMP ;
28+ #[ cfg( any( gnustep, objfw) ) ]
2729 pub fn objc_msg_lookup_super( sup: * const objc_super, sel: * const objc_selector) -> IMP ;
30+ #[ cfg( objfw) ]
31+ pub fn objc_msg_lookup_super_stret( sup: * const objc_super, sel: * const objc_selector) -> IMP ;
2832 // #[cfg(gnustep)]
2933 // objc_msg_lookup_sender
3034 // objc_msgLookup family available in macOS >= 10.12
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ mod verify;
3333#[ cfg( apple) ]
3434#[ path = "apple/mod.rs" ]
3535mod platform;
36- #[ cfg( gnustep) ]
36+ // TODO: This is _not_ correct, struct return works differently!
37+ #[ cfg( any( gnustep, objfw) ) ]
3738#[ path = "gnustep.rs" ]
3839mod platform;
3940
You can’t perform that action at this time.
0 commit comments