VirtualBox

Changeset 27639 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 23, 2010 3:28:26 PM (15 years ago)
Author:
vboxsync
Message:

iprt: added RTMsgErrorRc[V].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/message.cpp

    r27301 r27639  
    123123
    124124
     125RTDECL(int) RTMsgErrorRc(int rcRet, const char *pszFormat, ...)
     126{
     127    va_list va;
     128    va_start(va, pszFormat);
     129    RTMsgErrorV(pszFormat, va);
     130    va_end(va);
     131    return rcRet;
     132}
     133RT_EXPORT_SYMBOL(RTMsgErrorRcV);
     134
     135
     136RTDECL(int) RTMsgErrorRcV(int rcRet, const char *pszFormat, va_list va)
     137{
     138    RTMsgErrorV(pszFormat, va);
     139    return rcRet;
     140}
     141RT_EXPORT_SYMBOL(RTMsgErrorRcV);
     142
     143
    125144RTDECL(RTEXITCODE) RTMsgInitFailure(int rcRTR3Init)
    126145{
Note: See TracChangeset for help on using the changeset viewer.

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