diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 09:37:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 09:37:07 +0000 |
commit | d8ee324e03e46ef3361a8ade3062034bc45795af (patch) | |
tree | 16db0d512972def0afb897cf289ac8ff65a6b389 /Build/source/texk/kpathsea/types.h | |
parent | 151106e752f349fac3ef91258cdf305c1cd6dc79 (diff) |
kpathsea 6.2.0dev
git-svn-id: svn://tug.org/texlive/trunk@30892 c570f23f-e606-0410-a88d-b1316a301751
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 */ |