VirtualBox

Ignore:
Timestamp:
Aug 21, 2008 5:16:02 PM (16 years ago)
Author:
vboxsync
Message:

API/xpcom: prefix any C symbols in VBoxXPCOM.so, to avoid namespace pollution. Enabled only on Linux at the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/pprthred.h

    r1 r11551  
    5252#endif
    5353
     54#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     55#define PR_AttachThread VBoxNsprPR_AttachThread
     56#define PR_DetachThread VBoxNsprPR_DetachThread
     57#define PR_GetThreadID VBoxNsprPR_GetThreadID
     58#define PR_SetThreadDumpProc VBoxNsprPR_SetThreadDumpProc
     59#define PR_GetThreadAffinityMask VBoxNsprPR_GetThreadAffinityMask
     60#define PR_SetThreadAffinityMask VBoxNsprPR_SetThreadAffinityMask
     61#define PR_SetCPUAffinityMask VBoxNsprPR_SetCPUAffinityMask
     62#define PR_ShowStatus VBoxNsprPR_ShowStatus
     63#define PR_SetThreadRecycleMode VBoxNsprPR_SetThreadRecycleMode
     64#define PR_CreateThreadGCAble VBoxNsprPR_CreateThreadGCAble
     65#define PR_AttachThreadGCAble VBoxNsprPR_AttachThreadGCAble
     66#define PR_SetThreadGCAble VBoxNsprPR_SetThreadGCAble
     67#define PR_ClearThreadGCAble VBoxNsprPR_ClearThreadGCAble
     68#define PR_SuspendAll VBoxNsprPR_SuspendAll
     69#define PR_ResumeAll VBoxNsprPR_ResumeAll
     70#define PR_GetSP VBoxNsprPR_GetSP
     71#define PR_GetGCRegisters VBoxNsprPR_GetGCRegisters
     72#define GetExecutionEnvironment VBoxNsprGetExecutionEnvironment
     73#define SetExecutionEnvironment VBoxNsprSetExecutionEnvironment
     74#define PR_EnumerateThreads VBoxNsprPR_EnumerateThreads
     75#define PR_ThreadScanStackPointers VBoxNsprPR_ThreadScanStackPointers
     76#define PR_ScanStackPointers VBoxNsprPR_ScanStackPointers
     77#define PR_GetStackSpaceLeft VBoxNsprPR_GetStackSpaceLeft
     78#define PR_NewNamedMonitor VBoxNsprPR_NewNamedMonitor
     79#define PR_TestAndLock VBoxNsprPR_TestAndLock
     80#define PR_TestAndEnterMonitor VBoxNsprPR_TestAndEnterMonitor
     81#define PR_GetMonitorEntryCount VBoxNsprPR_GetMonitorEntryCount
     82#define PR_CTestAndEnterMonitor VBoxNsprPR_CTestAndEnterMonitor
     83#define PR_Mac_WaitForAsyncNotify VBoxNsprPR_Mac_WaitForAsyncNotify
     84#define PR_Mac_PostAsyncNotify VBoxNsprPR_Mac_PostAsyncNotify
     85#define PR_OS2_SetFloatExcpHandler VBoxNsprPR_OS2_SetFloatExcpHandler
     86#define PR_OS2_UnsetFloatExcpHandler VBoxNsprPR_OS2_UnsetFloatExcpHandler
     87#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     88
    5489PR_BEGIN_EXTERN_C
    5590
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