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/xpcom/ds/pldhash.h

    r1 r11551  
    4444 */
    4545#include "prtypes.h"
     46
     47#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     48#define PL_DHashTableInit VBoxNsplPL_DHashTableInit
     49#define PL_DHashTableFinish VBoxNsplPL_DHashTableFinish
     50#define PL_DHashTableOperate VBoxNsplPL_DHashTableOperate
     51#define PL_DHashTableEnumerate VBoxNsplPL_DHashTableEnumerate
     52#define PL_DHashAllocTable VBoxNsplPL_DHashAllocTable
     53#define PL_DHashFreeTable VBoxNsplPL_DHashFreeTable
     54#define PL_DHashMoveEntryStub VBoxNsplPL_DHashMoveEntryStub
     55#define PL_DHashFinalizeStub VBoxNsplPL_DHashFinalizeStub
     56#define PL_DHashClearEntryStub VBoxNsplPL_DHashClearEntryStub
     57#define PL_DHashFreeStringKey VBoxNsplPL_DHashFreeStringKey
     58#define PL_DHashGetKeyStub VBoxNsplPL_DHashGetKeyStub
     59#define PL_DHashGetStubOps VBoxNsplPL_DHashGetStubOps
     60#define PL_DHashMatchEntryStub VBoxNsplPL_DHashMatchEntryStub
     61#define PL_DHashMatchStringKey VBoxNsplPL_DHashMatchStringKey
     62#define PL_DHashStringKey VBoxNsplPL_DHashStringKey
     63#define PL_DHashTableDestroy VBoxNsplPL_DHashTableDestroy
     64#define PL_DHashTableRawRemove VBoxNsplPL_DHashTableRawRemove
     65#define PL_DHashTableSetAlphaBounds VBoxNsplPL_DHashTableSetAlphaBounds
     66#define PL_DHashVoidPtrKeyStub VBoxNsplPL_DHashVoidPtrKeyStub
     67#define PL_NewDHashTable VBoxNsplPL_NewDHashTable
     68#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4669
    4770PR_BEGIN_EXTERN_C
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