diff options
Diffstat (limited to 'Build/source/texk/kpathsea/types.h')
-rw-r--r-- | Build/source/texk/kpathsea/types.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/types.h b/Build/source/texk/kpathsea/types.h index fafa5acd200..a2b0a00ba44 100644 --- a/Build/source/texk/kpathsea/types.h +++ b/Build/source/texk/kpathsea/types.h @@ -65,6 +65,10 @@ typedef int boolean; # define PRIX64 __PRI64_PREFIX "X" #endif +#ifdef __cplusplus +extern "C" { +#endif + /* The usual null-terminated string. */ typedef char *string; @@ -79,9 +83,17 @@ typedef void *address; typedef void (*p_record_input) (const_string); typedef void (*p_record_output) (const_string); +#ifdef __cplusplus +} +#endif + /* the cache structure from elt-dirs.c */ #include <kpathsea/str-llist.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { const_string key; @@ -94,10 +106,18 @@ typedef struct { boolean expanding; } expansion_type; +#ifdef __cplusplus +} +#endif + #include <kpathsea/hash.h> #include <kpathsea/str-list.h> +#ifdef __cplusplus +extern "C" { +#endif + /* from old tex-file.h */ /* We put the glyphs first so we don't waste space in an array in @@ -331,4 +351,8 @@ extern KPSEDLL kpathsea kpse_def; #endif /* KPSE_COMPAT_API */ +#ifdef __cplusplus +} +#endif + #endif /* not KPATHSEA_TYPES_H */ |