VirtualBox

Changeset 57005 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Jul 19, 2015 1:03:20 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101720
Message:

Annotated format strings in ministring.h and com/strings.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r56291 r57005  
    534534     * @sa      RTCString::printfV
    535535     */
    536     Utf8Str(const char *a_pszFormat, va_list a_va)
     536    Utf8Str(const char *a_pszFormat, va_list a_va) RT_IPRT_FORMAT_ATTR(1, 0)
    537537        : RTCString(a_pszFormat, a_va)
    538538    {
     
    750750     *                          the format string.
    751751     */
    752     explicit Utf8StrFmt(const char *a_pszFormat, ...)
     752    explicit Utf8StrFmt(const char *a_pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2)
    753753    {
    754754        va_list va;
     
    781781     * @param ...       List of the arguments for the format string.
    782782     */
    783     explicit BstrFmt(const char *aFormat, ...)
     783    explicit BstrFmt(const char *aFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2)
    784784    {
    785785        va_list args;
     
    806806     * @param aArgs     List of arguments for the format string
    807807     */
    808     BstrFmtVA(const char *aFormat, va_list aArgs)
     808    BstrFmtVA(const char *aFormat, va_list aArgs) RT_IPRT_FORMAT_ATTR(1, 0)
    809809    {
    810810        copyFrom(Utf8Str(aFormat, aArgs).c_str());
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette