VirtualBox

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


Ignore:
Timestamp:
Sep 5, 2018 7:30:01 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Implemented the hybrid RTCRestAnyObject chameleon. bugref:9167

Location:
trunk/src/VBox/Runtime
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r74052 r74093  
    16531653        generic/http-curl.cpp \
    16541654        common/rest/rest-primary-object-types.cpp \
     1655        common/rest/RTCRestAnyObject.cpp \
    16551656        common/rest/RTCRestArrayBase.cpp \
    16561657        common/rest/RTCRestClientApiBase.cpp \
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientRequestBase.cpp

    r74070 r74093  
    152152                 */
    153153                AssertReturn(a_papQueryParamObjs[i]->typeClass() == RTCRestObjectBase::kTypeClass_Array,
    154                              VERR_REST_INTERAL_ERROR_2);
     154                             VERR_REST_INTERNAL_ERROR_2);
    155155                RTCRestArrayBase const *pArray = (RTCRestArrayBase const *)a_papQueryParamObjs[i];
    156156                for (size_t j = 0; j < pArray->size(); j++)
     
    204204                 */
    205205                AssertReturn(a_papHeaderParamObjs[i]->typeClass() == RTCRestObjectBase::kTypeClass_StringMap,
    206                              VERR_REST_INTERAL_ERROR_1);
     206                             VERR_REST_INTERNAL_ERROR_1);
    207207                RTCRestStringMapBase const *pMap    = (RTCRestStringMapBase const *)a_papHeaderParamObjs[i];
    208208                const size_t                cchName = strlen(a_paHeaderParams[i].pszName);
  • trunk/src/VBox/Runtime/common/rest/rest-primary-object-types.cpp

    r74040 r74093  
    12561256            size_t              cEntries  = 0;
    12571257            ENUMMAPENTRY const *paEntries = getMappingTable(&cEntries);
    1258             AssertReturn((unsigned)(m_iEnumValue - 1) < cEntries, VERR_REST_INTERAL_ERROR_3);
     1258            AssertReturn((unsigned)(m_iEnumValue - 1) < cEntries, VERR_REST_INTERNAL_ERROR_3);
    12591259            Assert(paEntries[m_iEnumValue - 1].iValue == m_iEnumValue);
    12601260
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