VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:01:12 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38823
Message:

IN_GC -> IN_RC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformattype.cpp

    r12906 r13832  
    7171     * In GC the offset is relative to g_aTypes[0], so that &g_aTypes[0] + offHandler
    7272     * gives the actual address. */
    73 #ifdef IN_GC
     73#ifdef IN_RC
    7474    int32_t             offHandler;
    7575#else
     
    298298            g_aTypes[i].cchType = (uint8_t)cchType;
    299299            g_aTypes[i].pvUser = pvUser;
    300 #ifdef IN_GC
     300#ifdef IN_RC
    301301            g_aTypes[i].offHandler = (intptr_t)pfnHandler - (intptr_t)&g_aTypes[0];
    302302#else
     
    448448    if (RT_LIKELY(i >= 0))
    449449    {
    450 #ifdef IN_GC
     450#ifdef IN_RC
    451451        PFNRTSTRFORMATTYPE pfnHandler = (PFNRTSTRFORMATTYPE)((intptr_t)&g_aTypes[0] + g_aTypes[i].offHandler);
    452452#else
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