Mercurial > hg > xemacs-beta
diff src/text.h @ 1650:34abfb24e891
[xemacs-hg @ 2003-08-28 15:44:04 by james]
Fix the C++ build, with many module-specific fixes.
author | james |
---|---|
date | Thu, 28 Aug 2003 15:44:30 +0000 |
parents | 64eaceca611d |
children | a8d8f419b459 |
line wrap: on
line diff
--- a/src/text.h Wed Aug 27 21:52:30 2003 +0000 +++ b/src/text.h Thu Aug 28 15:44:30 2003 +0000 @@ -45,6 +45,10 @@ char *strupr (char *); #endif +#ifdef __cplusplus +extern "C" { +#endif + /* ---------------------------------------------------------------------- */ /* Super-basic character properties */ /* ---------------------------------------------------------------------- */ @@ -2451,6 +2455,10 @@ #define eilwr(ei) EI_CASECHANGE (ei, 1) #define eiupr(ei) EI_CASECHANGE (ei, 0) +#ifdef __cplusplus +} +#endif + /************************************************************************/ /* */ @@ -2690,6 +2698,10 @@ }; typedef enum dfc_conversion_type dfc_conversion_type; +#ifdef __cplusplus +extern "C" { +#endif + /* WARNING: These use a static buffer. This can lead to disaster if these functions are not used *very* carefully. Another reason to only use TO_EXTERNAL_FORMAT() and TO_INTERNAL_FORMAT(). */ @@ -2897,6 +2909,10 @@ enum new_dfc_src_type type, Lisp_Object codesys); +#ifdef __cplusplus +} +#endif + /* Version of EXTERNAL_TO_C_STRING that *RETURNS* the translated string, still in alloca() space. Requires some trickiness to do this, but gets it done! */