Skip to content

Commit df58fc9

Browse files
authored
Add back usint/usshort/uschar typedefs for external project backwards compatibility (#1219)
1 parent dd8d374 commit df58fc9

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/core/include/utils/inttypes.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@
4141
#include <cstdint>
4242
#include <iosfwd>
4343

44+
/**
45+
* @brief Type used for representing unsigned 8-bit integers.
46+
*/
47+
typedef uint8_t uschar;
48+
49+
/**
50+
* @brief Type used for representing unsigned 16-bit short integers.
51+
*/
52+
typedef uint16_t usshort;
53+
54+
/**
55+
* @brief Type used for representing unsigned 32-bit integers.
56+
*/
57+
typedef uint32_t usint;
58+
4459
typedef uint64_t PlaintextModulus;
4560

4661
/**

0 commit comments

Comments
 (0)