mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Eradicated the last vestiges of printf from the library. String::formatted and String::printf are now gone - please use the << operators instead!
This commit is contained in:
parent
4ed63991e2
commit
e07c59c8f4
12 changed files with 250 additions and 374 deletions
|
|
@ -771,24 +771,5 @@ int CharacterFunctions::getHexDigitValue (const juce_wchar digit) throw()
|
|||
return -1;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
int CharacterFunctions::vprintf (char* const dest, const int maxLength, const char* const format, va_list& args) throw()
|
||||
{
|
||||
#if JUCE_WIN32
|
||||
return (int) _vsnprintf (dest, maxLength, format, args);
|
||||
#else
|
||||
return (int) vsnprintf (dest, maxLength, format, args);
|
||||
#endif
|
||||
}
|
||||
|
||||
int CharacterFunctions::vprintf (juce_wchar* const dest, const int maxLength, const juce_wchar* const format, va_list& args) throw()
|
||||
{
|
||||
#if defined (JUCE_WIN32)
|
||||
return (int) _vsnwprintf (dest, maxLength, format, args);
|
||||
#else
|
||||
return (int) vswprintf (dest, maxLength, format, args);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue