Changeset 22801 in vbox
- Timestamp:
- Sep 7, 2009 11:00:36 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r21398 r22801 572 572 #else 573 573 # define DECLHIDDEN(type) __attribute__((visibility("hidden"))) type 574 #endif 575 576 /** @def DECL_INVALID 577 * How to declare a function not available for linking in the current context. 578 * The purpose is to create compile or like time errors when used. This isn't 579 * possible on all platforms. 580 * @param type The return type of the function. 581 */ 582 #if defined(_MSC_VER) 583 # define DECL_INVALID(type) __declspec(dllimport) type __stdcall 584 #elif defined(__GNUC__) && defined(__cplusplus) 585 # define DECL_INVALID(type) extern "C++" type 586 #else 587 # define DECL_INVALID(type) type 574 588 #endif 575 589
Note:
See TracChangeset
for help on using the changeset viewer.