diff options
author | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-27 16:28:35 +0000 |
---|---|---|
committer | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-27 16:28:35 +0000 |
commit | b50cc03a80e2aa3b2e7c83c7e05c0d405f566a67 (patch) | |
tree | bdcdc62face6cb0b22c90a3c07078e46a97f9208 /libobjc | |
parent | c82aff117f4bb0c04600167f7830aee2ee3d74a5 (diff) | |
download | gcc-b50cc03a80e2aa3b2e7c83c7e05c0d405f566a67.tar.gz |
2015-01-27 Matthias Klose <doko@ubuntu.com>
* sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 4 | ||||
-rw-r--r-- | libobjc/sendmsg.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index b41d229da21..e800cbeffd1 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -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> PR libobjc/51891 diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index 1703743cab4..8e347dfede3 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -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); 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. */ inline IMP @@ -320,6 +324,10 @@ get_implementation (id receiver, Class class, SEL sel) 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 IMP get_imp (Class class, SEL sel) |