@@ -154,6 +154,7 @@ class __locale_t {
154
154
};
155
155
156
156
#if defined(_LIBCPP_BUILDING_LIBRARY)
157
+ _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
157
158
_LIBCPP_EXPORTED_FROM_ABI __locale_t __newlocale (int __mask, const char * __locale, __locale_t __base);
158
159
inline _LIBCPP_HIDE_FROM_ABI void __freelocale (__locale_t __loc) { ::_free_locale (__loc); }
159
160
inline _LIBCPP_HIDE_FROM_ABI char * __setlocale (int __category, const char * __locale) {
@@ -163,6 +164,7 @@ inline _LIBCPP_HIDE_FROM_ABI char* __setlocale(int __category, const char* __loc
163
164
return __new_locale;
164
165
}
165
166
_LIBCPP_EXPORTED_FROM_ABI __lconv_t * __localeconv (__locale_t & __loc);
167
+ _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
166
168
#endif // _LIBCPP_BUILDING_LIBRARY
167
169
168
170
//
@@ -178,8 +180,10 @@ inline _LIBCPP_HIDE_FROM_ABI long double __strtold(const char* __nptr, char** __
178
180
return ::_strtold_l (__nptr, __endptr, __loc);
179
181
}
180
182
#else
183
+ _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
181
184
_LIBCPP_EXPORTED_FROM_ABI float __strtof (const char *, char **, __locale_t );
182
185
_LIBCPP_EXPORTED_FROM_ABI long double __strtold (const char *, char **, __locale_t );
186
+ _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
183
187
#endif
184
188
185
189
inline _LIBCPP_HIDE_FROM_ABI double __strtod (const char * __nptr, char ** __endptr, __locale_t __loc) {
@@ -274,6 +278,7 @@ inline _LIBCPP_HIDE_FROM_ABI int __mbtowc(wchar_t* __pwc, const char* __pmb, siz
274
278
return ::_mbtowc_l (__pwc, __pmb, __max, __loc);
275
279
}
276
280
281
+ _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
277
282
_LIBCPP_EXPORTED_FROM_ABI size_t __mbrlen (const char * __restrict, size_t , mbstate_t * __restrict, __locale_t );
278
283
279
284
_LIBCPP_EXPORTED_FROM_ABI size_t
@@ -285,6 +290,7 @@ _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 4, 5) int __snpri
285
290
286
291
_LIBCPP_EXPORTED_FROM_ABI
287
292
_LIBCPP_ATTRIBUTE_FORMAT (__printf__, 3 , 4 ) int __asprintf (char ** __ret, __locale_t __loc, const char * __format, ...);
293
+ _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
288
294
289
295
_LIBCPP_DIAGNOSTIC_PUSH
290
296
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED (" -Wgcc-compat" )
0 commit comments