aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtin-types.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/builtin-types.def')
-rw-r--r--gcc/builtin-types.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/builtin-types.def b/gcc/builtin-types.def
index e65c6a8a160..cfd8b34155f 100644
--- a/gcc/builtin-types.def
+++ b/gcc/builtin-types.def
@@ -297,3 +297,10 @@ DEF_FUNCTION_TYPE_VAR_3 (BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR,
DEF_POINTER_TYPE (BT_PTR_FN_VOID_VAR, BT_FN_VOID_VAR)
DEF_FUNCTION_TYPE_3 (BT_FN_PTR_PTR_FN_VOID_VAR_PTR_SIZE,
BT_PTR, BT_PTR_FN_VOID_VAR, BT_PTR, BT_SIZE)
+
+/* APPLE LOCAL begin constant cfstrings */
+/* For simplicity's sake, we will make __builtin___CFStringMakeConstantString
+ return a 'const void *', rather than 'CFStringRef', so that we can avoid
+ having to define 'CFStringRef' as a built-in type. */
+DEF_FUNCTION_TYPE_1 (BT_FN_CONST_PTR_CONST_STRING, BT_CONST_PTR, BT_CONST_STRING)
+/* APPLE LOCAL end constant cfstrings */