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/prtrace.h

    r1 r11551  
    9898#include "prtime.h"
    9999
     100#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     101#define PR_CreateTrace VBoxNsprPR_CreateTrace
     102#define PR_DestroyTrace VBoxNsprPR_DestroyTrace
     103#define PR_Trace VBoxNsprPR_Trace
     104#define PR_SetTraceOption VBoxNsprPR_SetTraceOption
     105#define PR_GetTraceOption VBoxNsprPR_GetTraceOption
     106#define PR_GetTraceHandleFromName VBoxNsprPR_GetTraceHandleFromName
     107#define PR_GetTraceNameFromHandle VBoxNsprPR_GetTraceNameFromHandle
     108#define PR_FindNextTraceQname VBoxNsprPR_FindNextTraceQname
     109#define PR_FindNextTraceRname VBoxNsprPR_FindNextTraceRname
     110#define PR_RecordTraceEntries VBoxNsprPR_RecordTraceEntries
     111#define PR_GetTraceEntries VBoxNsprPR_GetTraceEntries
     112#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     113
    100114PR_BEGIN_EXTERN_C
    101115
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