• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <cstdint>
2 
3 enum Int8 : int8_t {
4   ZERO = 0,
5   MINUS_1 = (int8_t)-1,
6 };
7 
8 enum Uint8 : uint8_t {
9   UNSIGNED_255 = UINT8_MAX,
10 };
11 
12 enum Int64 : int64_t {
13   SIGNED_MAX = INT64_MAX,
14   SIGNED_MIN = INT64_MIN,
15 };
16 
17 enum Uint64 : uint64_t {
18   UNSIGNED_MAX = UINT64_MAX,
19 };
20 
21 extern "C" {
22 void function(Int8, Uint8, Int64, Uint64);
23 }
24