VirtualBox

Ignore:
Timestamp:
Jun 18, 2007 10:24:11 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22063
Message:

XPCOM: Ported necessary bits of IPC/DConnect tp OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/base/nscore.h

    r2443 r3149  
    176176#define NS_EXPORT_(type) __declspec(export) type
    177177#define NS_IMETHOD_(type) virtual type
     178#define NS_IMETHODIMP_(type) type
     179#define NS_METHOD_(type) type
     180#define NS_CALLBACK_(_type, _name) _type (* _name)
     181#define NS_STDCALL
     182
     183#elif defined(XP_OS2) && defined(__declspec)
     184
     185#define NS_IMPORT __declspec(dllimport)
     186#define NS_IMPORT_(type) type __declspec(dllimport) __stdcall
     187#define NS_EXPORT __declspec(dllexport)
     188#define NS_EXPORT_(type) type __declspec(dllexport) __stdcall
     189#define NS_IMETHOD_(type) virtual IMETHOD_VISIBILITY type NS_DEFCALL
    178190#define NS_IMETHODIMP_(type) type
    179191#define NS_METHOD_(type) type
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette