Changeset 20358 in vbox
- Timestamp:
- Jun 7, 2009 11:55:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r19819 r20358 46 46 #else 47 47 48 /** @def __BEGIN_DECLS 49 * Used to start a block of function declarations which are shared 50 * between C and C++ program. 51 */ 52 53 /** @def __END_DECLS 54 * Used to end a block of function declarations which are shared 55 * between C and C++ program. 56 */ 57 58 #if defined(__cplusplus) 59 # define __BEGIN_DECLS extern "C" { 60 # define __END_DECLS } 61 #else 62 # define __BEGIN_DECLS 63 # define __END_DECLS 64 #endif 48 /** @def RT_BEGIN_DECLS 49 * Used to start a block of function declarations which are shared 50 * between C and C++ program. 51 */ 52 53 /** @def RT_END_DECLS 54 * Used to end a block of function declarations which are shared 55 * between C and C++ program. 56 */ 57 58 /** @def __BEGIN_DECLS 59 * @deprecated Use RT_BEGIN_DECLS 60 */ 61 62 /** @def __END_DECLS 63 * @deprecated Use RT_END_DECLS 64 */ 65 66 # if defined(__cplusplus) 67 # define RT_BEGIN_DECLS extern "C" { 68 # define __BEGIN_DECLS extern "C" { 69 # define RT_END_DECLS } 70 # define __END_DECLS } 71 # else 72 # define RT_BEGIN_DECLS 73 # define __BEGIN_DECLS 74 # define RT_END_DECLS 75 # define __END_DECLS 76 # endif 65 77 66 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.