mirror of git://gcc.gnu.org/git/gcc.git
sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
2015-01-27 Matthias Klose <doko@ubuntu.com>
* sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
From-SVN: r220175
This commit is contained in:
parent
82a9447166
commit
67caf5381c
|
|
@ -1,3 +1,7 @@
|
||||||
|
2015-01-27 Matthias Klose <doko@ubuntu.com>
|
||||||
|
|
||||||
|
* sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
|
||||||
|
|
||||||
2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
|
2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
|
||||||
|
|
||||||
PR libobjc/51891
|
PR libobjc/51891
|
||||||
|
|
|
||||||
|
|
@ -104,6 +104,10 @@ static struct objc_method * search_for_method_in_hierarchy (Class class, SEL sel
|
||||||
struct objc_method * search_for_method_in_list (struct objc_method_list * list, SEL op);
|
struct objc_method * search_for_method_in_list (struct objc_method_list * list, SEL op);
|
||||||
id nil_method (id, SEL);
|
id nil_method (id, SEL);
|
||||||
|
|
||||||
|
/* Make sure this inline function is exported regardless of GNU89 or C99
|
||||||
|
inlining semantics as it is part of the libobjc ABI. */
|
||||||
|
extern IMP __objc_get_forward_imp (id, SEL);
|
||||||
|
|
||||||
/* Given a selector, return the proper forwarding implementation. */
|
/* Given a selector, return the proper forwarding implementation. */
|
||||||
inline
|
inline
|
||||||
IMP
|
IMP
|
||||||
|
|
@ -320,6 +324,10 @@ get_implementation (id receiver, Class class, SEL sel)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make sure this inline function is exported regardless of GNU89 or C99
|
||||||
|
inlining semantics as it is part of the libobjc ABI. */
|
||||||
|
extern IMP get_imp (Class, SEL);
|
||||||
|
|
||||||
inline
|
inline
|
||||||
IMP
|
IMP
|
||||||
get_imp (Class class, SEL sel)
|
get_imp (Class class, SEL sel)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue