Mercurial > hg > xemacs-beta
diff src/text.h @ 1743:543769b89fed
[xemacs-hg @ 2003-10-14 05:02:57 by james]
New compiler.h contains compiler-specific defines. Use it everywhere.
author | james |
---|---|
date | Tue, 14 Oct 2003 05:03:13 +0000 |
parents | a8d8f419b459 |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/src/text.h Mon Oct 13 18:53:24 2003 +0000 +++ b/src/text.h Tue Oct 14 05:03:13 2003 +0000 @@ -45,9 +45,7 @@ char *strupr (char *); #endif -#ifdef __cplusplus -extern "C" { -#endif +BEGIN_C_DECLS /* ---------------------------------------------------------------------- */ /* Super-basic character properties */ @@ -2455,9 +2453,7 @@ #define eilwr(ei) EI_CASECHANGE (ei, 1) #define eiupr(ei) EI_CASECHANGE (ei, 0) -#ifdef __cplusplus -} -#endif +END_C_DECLS /************************************************************************/ @@ -2698,9 +2694,7 @@ }; typedef enum dfc_conversion_type dfc_conversion_type; -#ifdef __cplusplus -extern "C" { -#endif +BEGIN_C_DECLS /* WARNING: These use a static buffer. This can lead to disaster if these functions are not used *very* carefully. Another reason to only use @@ -2909,9 +2903,7 @@ enum new_dfc_src_type type, Lisp_Object codesys); -#ifdef __cplusplus -} -#endif +END_C_DECLS /* Version of EXTERNAL_TO_C_STRING that *RETURNS* the translated string, still in alloca() space. Requires some trickiness to do this, but gets