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/lib/ds/plhash.h

    r1 r11551  
    4343#include <stdio.h>
    4444#include "prtypes.h"
     45
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PL_CompareStrings VBoxNsplPL_CompareStrings
     48#define PL_CompareValues VBoxNsplPL_CompareValues
     49#define PL_HashString VBoxNsplPL_HashString
     50#define PL_HashTableAdd VBoxNsplPL_HashTableAdd
     51#define PL_HashTableDestroy VBoxNsplPL_HashTableDestroy
     52#define PL_HashTableLookup VBoxNsplPL_HashTableLookup
     53#define PL_HashTableRemove VBoxNsplPL_HashTableRemove
     54#define PL_NewHashTable VBoxNsplPL_NewHashTable
     55#define PL_HashTableDump VBoxNsplPL_HashTableDump
     56#define PL_HashTableEnumerateEntries VBoxNsplPL_HashTableEnumerateEntries
     57#define PL_HashTableLookupConst VBoxNsplPL_HashTableLookupConst
     58#define PL_HashTableRawAdd VBoxNsplPL_HashTableRawAdd
     59#define PL_HashTableRawLookup VBoxNsplPL_HashTableRawLookup
     60#define PL_HashTableRawLookupConst VBoxNsplPL_HashTableRawLookupConst
     61#define PL_HashTableRawRemove VBoxNsplPL_HashTableRawRemove
     62#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4563
    4664PR_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