VirtualBox

Changeset 95658 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 15, 2022 10:14:45 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/RTAsn1: Added a RTAsn1DynType_SetToNull function. bugref:8691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-dyntype.cpp

    r93115 r95658  
    103103
    104104
     105RTDECL(int) RTAsn1DynType_SetToNull(PRTASN1DYNTYPE pThis)
     106{
     107    RTAsn1DynType_Delete(pThis);
     108    pThis->enmType = RTASN1TYPE_NULL;
     109    return RTAsn1Null_Init(&pThis->u.Asn1Null, NULL /*pAllocator*/);
     110}
     111
     112
    105113RTDECL(int) RTAsn1DynType_Enum(PRTASN1DYNTYPE pThis, PFNRTASN1ENUMCALLBACK pfnCallback, uint32_t uDepth, void *pvUser)
    106114{
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