| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | |
| 7 | #ifndef _INC_SWPRINTF_INL |
| 8 | #define _INC_SWPRINTF_INL |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | |
| 12 | extern "C++" { |
| 13 | |
| 14 | /* __attribute__((__format__ (gnu_wprintf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) |
| 15 | int vswprintf (wchar_t *__stream, const wchar_t *__format, __builtin_va_list __local_argv) __MINGW_ASM_CALL(_vswprintf); |
| 16 | |
| 17 | /* __attribute__((__format__ (gnu_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 18 | int swprintf (wchar_t *__stream, const wchar_t *__format, ...) __MINGW_ASM_CALL(_swprintf); |
| 19 | |
| 20 | } |
| 21 | |
| 22 | #elif defined(_CRT_NON_CONFORMING_SWPRINTFS) |
| 23 | |
| 24 | #define swprintf _swprintf |
| 25 | #define vswprintf _vswprintf |
| 26 | |
| 27 | #endif /* __cplusplus */ |
| 28 | |
| 29 | #endif /* _INC_SWPRINTF_INL */ |