OLD | NEW |
1 /* | 1 /* |
2 ** The "printf" code that follows dates from the 1980's. It is in | 2 ** The "printf" code that follows dates from the 1980's. It is in |
3 ** the public domain. The original comments are included here for | 3 ** the public domain. The original comments are included here for |
4 ** completeness. They are very out-of-date but might be useful as | 4 ** completeness. They are very out-of-date but might be useful as |
5 ** an historical reference. Most of the "enhancements" have been backed | 5 ** an historical reference. Most of the "enhancements" have been backed |
6 ** out so that the functionality is now the same as standard printf(). | 6 ** out so that the functionality is now the same as standard printf(). |
7 ** | 7 ** |
8 ************************************************************************** | 8 ************************************************************************** |
9 ** | 9 ** |
10 ** The following modules is an enhanced replacement for the "printf" subroutines | 10 ** The following modules is an enhanced replacement for the "printf" subroutines |
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 /* | 1020 /* |
1021 ** variable-argument wrapper around sqlite3VXPrintf(). | 1021 ** variable-argument wrapper around sqlite3VXPrintf(). |
1022 */ | 1022 */ |
1023 void sqlite3XPrintf(StrAccum *p, const char *zFormat, ...){ | 1023 void sqlite3XPrintf(StrAccum *p, const char *zFormat, ...){ |
1024 va_list ap; | 1024 va_list ap; |
1025 va_start(ap,zFormat); | 1025 va_start(ap,zFormat); |
1026 sqlite3VXPrintf(p, 1, zFormat, ap); | 1026 sqlite3VXPrintf(p, 1, zFormat, ap); |
1027 va_end(ap); | 1027 va_end(ap); |
1028 } | 1028 } |
1029 #endif | 1029 #endif |
OLD | NEW |