Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 2110:f18c80177dfe
[xemacs-hg @ 2004-06-03 10:10:45 by didierv]
EXTERN_C fixes
author | didierv |
---|---|
date | Thu, 03 Jun 2004 10:10:46 +0000 |
parents | 0bcc1e4dfd91 |
children | 13181f978082 |
comparison
equal
deleted
inserted
replaced
2109:92b1c3ca4824 | 2110:f18c80177dfe |
---|---|
955 # define new c_new | 955 # define new c_new |
956 # define this c_this | 956 # define this c_this |
957 # define catch c_catch | 957 # define catch c_catch |
958 | 958 |
959 # define EXTERN_C extern "C" | 959 # define EXTERN_C extern "C" |
960 # define EXTERN_C_BLOCK_BEGIN extern "C" { | |
961 # define EXTERN_C_BLOCK_END } | |
960 # else /* C code */ | 962 # else /* C code */ |
961 # define EXTERN_C extern | 963 # define EXTERN_C extern |
964 # define EXTERN_C_BLOCK_BEGIN | |
965 # define EXTERN_C_BLOCK_END | |
962 # endif | 966 # endif |
963 #endif /* C or C++ */ | 967 #endif /* C or C++ */ |
964 | 968 |
965 /* Strictly speaking, only int or unsigned int are valid types in a | 969 /* Strictly speaking, only int or unsigned int are valid types in a |
966 bitfield. In practice, we would like to use enums as bitfields. | 970 bitfield. In practice, we would like to use enums as bitfields. |