diff options
Diffstat (limited to 'libobjc/objc')
-rw-r--r-- | libobjc/objc/encoding.h | 2 | ||||
-rw-r--r-- | libobjc/objc/objc-api.h | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libobjc/objc/encoding.h b/libobjc/objc/encoding.h index 0deae5f..177ef72 100644 --- a/libobjc/objc/encoding.h +++ b/libobjc/objc/encoding.h @@ -42,7 +42,7 @@ extern "C" { #define _C_BYCOPY 'O' #define _C_BYREF 'R' #define _C_ONEWAY 'V' -#define _C_GCINVISIBLE '!' +#define _C_GCINVISIBLE '|' #define _F_CONST 0x01 #define _F_IN 0x01 diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index 9903739..be433cb 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -68,13 +68,13 @@ struct objc_method_description #define _C_ULNG_LNG 'Q' #define _C_FLT 'f' #define _C_DBL 'd' +#define _C_LNG_DBL 'D' #define _C_BFLD 'b' -#define _C_BOOL 'B' +#define _C_BOOL 'B' #define _C_VOID 'v' #define _C_UNDEF '?' #define _C_PTR '^' #define _C_CHARPTR '*' -#define _C_ATOM '%' #define _C_ARY_B '[' #define _C_ARY_E ']' #define _C_UNION_B '(' @@ -82,7 +82,13 @@ struct objc_method_description #define _C_STRUCT_B '{' #define _C_STRUCT_E '}' #define _C_VECTOR '!' -#define _C_COMPLEX 'j' +#define _C_COMPLEX 'j' + +/* The following one is never generated by the compiler. You can + treat it as equivalent to "*". +*/ +#define _C_ATOM '%' + #include "deprecated/objc_error.h" |