VirtualBox
Show
Ignore:
Timestamp:
10/30/07 18:51:50 (1 year ago)
Author:
vboxsync
Message:

USBLIB_DECL (used by more than one header, unfortunately, so i have to go here).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/cdefs.h

    r4071 r5562  
    109109#define IN_USB_R0 
    110110#define IN_USB_R3 
     111#define IN_USBLIB 
    111112#define IN_VGADEVICE_GC 
    112113#define IN_VGADEVICE_R3 
     
    914915 
    915916 
     917/** @def IN_USBLIB 
     918 * Used to indicate whether we're inside the same link module as the USBLib. 
     919 */ 
     920/** @def USBLIB_DECL 
     921 * USBLIB export or import declaration. 
     922 * @param   type    The return type of the function declaration. 
     923 */ 
     924#ifdef IN_RING0 
     925# define USBLIB_DECL(type)   type VBOXCALL 
     926#elif defined(IN_USBLIB) 
     927# define USBLIB_DECL(type)   DECLEXPORT(type) VBOXCALL 
     928#else 
     929# define USBLIB_DECL(type)   DECLIMPORT(type) VBOXCALL 
     930#endif 
     931 
     932 
     933 
    916934/** @def IN_INTNET_R3 
    917935 * Used to indicate whether we're inside the same link module as the Ring 3 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy