Fix va_start format passing
This commit is contained in:
parent
8e2c32ebdc
commit
ca9bdad88a
|
@ -566,7 +566,7 @@ uInt FString::getUTF8length() const
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
FString& FString::sprintf (const FString& format, ...)
|
FString& FString::sprintf (const FString format, ...)
|
||||||
{
|
{
|
||||||
static const int BUFSIZE = 4096;
|
static const int BUFSIZE = 4096;
|
||||||
wchar_t buffer[BUFSIZE];
|
wchar_t buffer[BUFSIZE];
|
||||||
|
|
|
@ -45,7 +45,7 @@ FTermBuffer::~FTermBuffer() // destructor
|
||||||
|
|
||||||
// public methods of FTermBuffer
|
// public methods of FTermBuffer
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
int FTermBuffer::writef (const FString& format, ...)
|
int FTermBuffer::writef (const FString format, ...)
|
||||||
{
|
{
|
||||||
static const int BUFSIZE = 4096;
|
static const int BUFSIZE = 4096;
|
||||||
wchar_t buffer[BUFSIZE];
|
wchar_t buffer[BUFSIZE];
|
||||||
|
|
|
@ -294,7 +294,7 @@ void FVTerm::delPreprocessingHandler (FVTerm* instance)
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
int FVTerm::printf (const FString& format, ...)
|
int FVTerm::printf (const FString format, ...)
|
||||||
{
|
{
|
||||||
static const int BUFSIZE = 4096;
|
static const int BUFSIZE = 4096;
|
||||||
wchar_t buffer[BUFSIZE];
|
wchar_t buffer[BUFSIZE];
|
||||||
|
|
|
@ -193,7 +193,7 @@ class FString
|
||||||
wchar_t front() const;
|
wchar_t front() const;
|
||||||
wchar_t back() const;
|
wchar_t back() const;
|
||||||
|
|
||||||
FString& sprintf (const FString&, ...);
|
FString& sprintf (const FString, ...);
|
||||||
FString clear();
|
FString clear();
|
||||||
|
|
||||||
const wchar_t* wc_str() const;
|
const wchar_t* wc_str() const;
|
||||||
|
|
|
@ -79,7 +79,7 @@ class FTermBuffer
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
void clear();
|
void clear();
|
||||||
int writef (const FString&, ...);
|
int writef (const FString, ...);
|
||||||
int write (const FString&);
|
int write (const FString&);
|
||||||
int write (int);
|
int write (int);
|
||||||
FTermBuffer& write ();
|
FTermBuffer& write ();
|
||||||
|
|
|
@ -235,7 +235,7 @@ class FVTerm : public FTerm
|
||||||
, FPreprocessingHandler );
|
, FPreprocessingHandler );
|
||||||
virtual void delPreprocessingHandler (FVTerm*);
|
virtual void delPreprocessingHandler (FVTerm*);
|
||||||
|
|
||||||
int printf (const FString&, ...);
|
int printf (const FString, ...);
|
||||||
int print (const FString&);
|
int print (const FString&);
|
||||||
int print (term_area*, const FString&);
|
int print (term_area*, const FString&);
|
||||||
int print (const std::vector<charData>&);
|
int print (const std::vector<charData>&);
|
||||||
|
|
Loading…
Reference in New Issue