diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-19 13:40:16 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-19 13:40:16 +0000 |
commit | 2899534b2c76c416d71d077c396f2396a784c4c5 (patch) | |
tree | cd479bee4a6e5fdacbb1bc51fc317ee5038c41ca /libobjc/objc/encoding.h | |
parent | a6fed83ffa62aa01d7add21c9d2b36ba12efb731 (diff) | |
download | gcc-2899534b2c76c416d71d077c396f2396a784c4c5.zip gcc-2899534b2c76c416d71d077c396f2396a784c4c5.tar.gz gcc-2899534b2c76c416d71d077c396f2396a784c4c5.tar.bz2 |
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/encoding.h: Updated comments.
* objc/runtime.h: Updated comments.
(objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
(objc_sizeof_type): Same.
(objc_alignof_type): Same.
(objc_aligned_size): Same.
(objc_promoted_size): Same.
(objc_skip_type_qualifiers): Same.
(objc_skip_typespec): Same.
(objc_skip_offset): Same.
(objc_skip_argspec): Same.
(objc_get_type_qualifiers): Same.
(objc_layout_structure): Same.
(objc_layout_structure_next_member): Same.
(objc_layout_finish_structure): Same.
(objc_layout_structure_get_info): Same.
From-SVN: r168051
Diffstat (limited to 'libobjc/objc/encoding.h')
-rw-r--r-- | libobjc/objc/encoding.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libobjc/objc/encoding.h b/libobjc/objc/encoding.h index 523b129..6d98a39 100644 --- a/libobjc/objc/encoding.h +++ b/libobjc/objc/encoding.h @@ -31,8 +31,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* This file is to be used with the "traditional" GNU Objective-C Runtime API (the one declared in objc/objc-api.h). If you are using the "modern" GNU Objective-C Runtime API, then the useful - functions from this file are declared in objc/runtime.h. -*/ + functions from this file are declared in objc/runtime.h. */ #include "objc-api.h" #include <ctype.h> @@ -71,9 +70,15 @@ const char *objc_skip_type_qualifiers (const char *type); const char *objc_skip_typespec (const char *type); const char *objc_skip_offset (const char *type); const char *objc_skip_argspec (const char *type); +unsigned objc_get_type_qualifiers (const char *type); + +/* The following functions are replaced, in the modern API, by + method_getNumberOfArguments(), method_getArgumentType(). */ int method_get_number_of_arguments (struct objc_method *); int method_get_sizeof_arguments (struct objc_method *); +/* The following functions are deprecated and they use arglist_t which + is deprecated. */ char *method_get_first_argument (struct objc_method *, arglist_t argframe, const char **type); @@ -84,10 +89,7 @@ char *method_get_nth_argument (struct objc_method *m, int arg, const char **type); -unsigned objc_get_type_qualifiers (const char *type); - - -struct objc_struct_layout +struct objc_struct_layout { const char *original_type; const char *type; |