diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
commit | 0737819efdd0bae112d16d874cac7e747e43cd08 (patch) | |
tree | 98a9ac84f7f347ae530c14852c68870682f3d04c /lib/idx.h | |
parent | 163a663518f33bab48b28431972e580b366b4d49 (diff) | |
parent | e670957a8693f860cf7d77fed4ce6b4b056a8083 (diff) |
Merge branch 'release/debian/1.3-1'debian/1.3-1
Diffstat (limited to 'lib/idx.h')
-rw-r--r-- | lib/idx.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -111,6 +111,11 @@ help producing good code and good warnings. The type 'idx_t' could then be typedef'ed to a range type that is signed after promotion. */ +#ifdef __cplusplus +extern "C" { +#endif + + /* In the future, idx_t could be typedef'ed to a signed range type. The clang "extended integer types", supported in Clang 11 or newer <https://clang.llvm.org/docs/LanguageExtensions.html#extended-integer-types>, @@ -131,4 +136,9 @@ typedef ptrdiff_t idx_t; Perhaps there should be another macro IDX_VALUE_BITS that does not count the sign bit and is therefore one less than PTRDIFF_WIDTH. */ + +#ifdef __cplusplus +} +#endif + #endif /* _IDX_H */ |