VirtualBox

Changeset 50362 in vbox


Ignore:
Timestamp:
Feb 7, 2014 1:20:55 PM (11 years ago)
Author:
vboxsync
Message:

src/libs/xpcom: repair VBOX_DEBUG_LIFETIMES

Location:
trunk/src/libs/xpcom18a4/python/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/python/src/PyISupports.cpp

    r39706 r50362  
    6060/*static*/ RTCRITSECT        Py_nsISupports::g_CritSect;
    6161
    62 /*static*/ DECLCALLBACK(int)
    63 Py_nsISupports::initOnceCallback(void *pvUser1, void *pvUser2)
    64 {
    65     NOREF(pvUser1); NOREF(pvUser2);
     62/*static*/ DECLCALLBACK(int32_t)
     63Py_nsISupports::initOnceCallback(void *pvUser1)
     64{
     65    NOREF(pvUser1);
    6666    RTListInit(&g_List);
    6767    return RTCritSectInit(&g_CritSect);
     
    7171Py_nsISupports::dumpList(void)
    7272{
    73     RTOnce(&g_Once, initOnceCallback, NULL, NULL);
     73    RTOnce(&g_Once, initOnceCallback, NULL);
    7474    RTCritSectEnter(&g_CritSect);
    7575
     
    8989Py_nsISupports::dumpListToStdOut()
    9090{
    91     RTOnce(&g_Once, initOnceCallback, NULL, NULL);
     91    RTOnce(&g_Once, initOnceCallback, NULL);
    9292    RTCritSectEnter(&g_CritSect);
    9393
     
    140140
    141141#ifdef VBOX_DEBUG_LIFETIMES
    142         RTOnce(&g_Once, initOnceCallback, NULL, NULL);
     142        RTOnce(&g_Once, initOnceCallback, NULL);
    143143        RTCritSectEnter(&g_CritSect);
    144144        RTListAppend(&g_List, &m_ListEntry);
  • trunk/src/libs/xpcom18a4/python/src/PyXPCOM.h

    r39535 r50362  
    377377
    378378#ifdef VBOX_DEBUG_LIFETIMES
    379         static DECLCALLBACK(int) initOnceCallback(void *pvUser1, void *pvUser2);
     379        static DECLCALLBACK(int32_t) initOnceCallback(void *pvUser1);
    380380
    381381        RTLISTNODE              m_ListEntry; /**< List entry. */
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