Changeset 50362 in vbox
- Timestamp:
- Feb 7, 2014 1:20:55 PM (11 years ago)
- Location:
- trunk/src/libs/xpcom18a4/python/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/src/PyISupports.cpp
r39706 r50362 60 60 /*static*/ RTCRITSECT Py_nsISupports::g_CritSect; 61 61 62 /*static*/ DECLCALLBACK(int )63 Py_nsISupports::initOnceCallback(void *pvUser1 , void *pvUser2)64 { 65 NOREF(pvUser1); NOREF(pvUser2);62 /*static*/ DECLCALLBACK(int32_t) 63 Py_nsISupports::initOnceCallback(void *pvUser1) 64 { 65 NOREF(pvUser1); 66 66 RTListInit(&g_List); 67 67 return RTCritSectInit(&g_CritSect); … … 71 71 Py_nsISupports::dumpList(void) 72 72 { 73 RTOnce(&g_Once, initOnceCallback, NULL , NULL);73 RTOnce(&g_Once, initOnceCallback, NULL); 74 74 RTCritSectEnter(&g_CritSect); 75 75 … … 89 89 Py_nsISupports::dumpListToStdOut() 90 90 { 91 RTOnce(&g_Once, initOnceCallback, NULL , NULL);91 RTOnce(&g_Once, initOnceCallback, NULL); 92 92 RTCritSectEnter(&g_CritSect); 93 93 … … 140 140 141 141 #ifdef VBOX_DEBUG_LIFETIMES 142 RTOnce(&g_Once, initOnceCallback, NULL , NULL);142 RTOnce(&g_Once, initOnceCallback, NULL); 143 143 RTCritSectEnter(&g_CritSect); 144 144 RTListAppend(&g_List, &m_ListEntry); -
trunk/src/libs/xpcom18a4/python/src/PyXPCOM.h
r39535 r50362 377 377 378 378 #ifdef VBOX_DEBUG_LIFETIMES 379 static DECLCALLBACK(int ) initOnceCallback(void *pvUser1, void *pvUser2);379 static DECLCALLBACK(int32_t) initOnceCallback(void *pvUser1); 380 380 381 381 RTLISTNODE m_ListEntry; /**< List entry. */
Note:
See TracChangeset
for help on using the changeset viewer.