VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:42:54 AM (16 years ago)
Author:
vboxsync
Message:

s/ELEMENTS/RT_ELEMENTS/g - retiring ELEMENTS (finally).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r13835 r13836  
    203203        .cArgsMax = 1,
    204204        .paArgDescs = &g_aArgRemStep[0],
    205         .cArgDescs = ELEMENTS(g_aArgRemStep),
     205        .cArgDescs = RT_ELEMENTS(g_aArgRemStep),
    206206        .pResultDesc = NULL,
    207207        .fFlags = 0,
     
    335335    if (!fRegisteredCmds)
    336336    {
    337         int rc = DBGCRegisterCommands(&g_aCmds[0], ELEMENTS(g_aCmds));
     337        int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
    338338        if (RT_SUCCESS(rc))
    339339            fRegisteredCmds = true;
     
    547547        if (RT_FAILURE(rc))
    548548            return rc;
    549         if (pRem->cInvalidatedPages > ELEMENTS(pRem->aGCPtrInvalidatedPages))
     549        if (pRem->cInvalidatedPages > RT_ELEMENTS(pRem->aGCPtrInvalidatedPages))
    550550        {
    551551            AssertMsgFailed(("cInvalidatedPages=%#x\n", pRem->cInvalidatedPages));
     
    46434643    {
    46444644        default:
    4645             if (uEAX < ELEMENTS(apsz))
     4645            if (uEAX < RT_ELEMENTS(apsz))
    46464646                Log(("REM: linux syscall %3d: %s (eip=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x ebp=%08x)\n",
    46474647                     uEAX, apsz[uEAX], CPUMGetGuestEIP(pVM), CPUMGetGuestEBX(pVM), CPUMGetGuestECX(pVM),
     
    49724972    {
    49734973        default:
    4974             if (uEAX < ELEMENTS(apsz))
     4974            if (uEAX < RT_ELEMENTS(apsz))
    49754975            {
    49764976                uint32_t au32Args[8] = {0};
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