|
17 | 17 | signed long long signed_long_long_identity(signed long long x) { return x; }
|
18 | 18 | unsigned long long unsigned_long_long_identity(unsigned long long x) { return x; }
|
19 | 19 |
|
| 20 | +#ifdef __cplusplus |
| 21 | + signed char & signed_char_ref_identity( signed char & x) { return x; } |
| 22 | + unsigned char & unsigned_char_ref_identity( unsigned char & x) { return x; } |
| 23 | + signed short & signed_short_ref_identity( signed short & x) { return x; } |
| 24 | + unsigned short & unsigned_short_ref_identity( unsigned short & x) { return x; } |
| 25 | + signed int & signed_int_ref_identity( signed int & x) { return x; } |
| 26 | + unsigned int & unsigned_int_ref_identity( unsigned int & x) { return x; } |
| 27 | + signed long & signed_long_ref_identity( signed long & x) { return x; } |
| 28 | + unsigned long & unsigned_long_ref_identity( unsigned long & x) { return x; } |
| 29 | + signed long long & signed_long_long_ref_identity( signed long long & x) { return x; } |
| 30 | + unsigned long long & unsigned_long_long_ref_identity(unsigned long long & x) { return x; } |
| 31 | + |
| 32 | + const signed char & const_signed_char_ref_identity( const signed char & x) { return x; } |
| 33 | + const unsigned char & const_unsigned_char_ref_identity( const unsigned char & x) { return x; } |
| 34 | + const signed short & const_signed_short_ref_identity( const signed short & x) { return x; } |
| 35 | + const unsigned short & const_unsigned_short_ref_identity( const unsigned short & x) { return x; } |
| 36 | + const signed int & const_signed_int_ref_identity( const signed int & x) { return x; } |
| 37 | + const unsigned int & const_unsigned_int_ref_identity( const unsigned int & x) { return x; } |
| 38 | + const signed long & const_signed_long_ref_identity( const signed long & x) { return x; } |
| 39 | + const unsigned long & const_unsigned_long_ref_identity( const unsigned long & x) { return x; } |
| 40 | + const signed long long & const_signed_long_long_ref_identity( const signed long long & x) { return x; } |
| 41 | + const unsigned long long & const_unsigned_long_long_ref_identity(const unsigned long long & x) { return x; } |
| 42 | +#endif |
| 43 | + |
| 44 | + signed char * signed_char_ptr() { return NULL; } |
| 45 | + unsigned char * unsigned_char_ptr() { return NULL; } |
| 46 | + signed short * signed_short_ptr() { return NULL; } |
| 47 | + unsigned short * unsigned_short_ptr() { return NULL; } |
| 48 | + signed int * signed_int_ptr() { return NULL; } |
| 49 | + unsigned int * unsigned_int_ptr() { return NULL; } |
| 50 | + signed long * signed_long_ptr() { return NULL; } |
| 51 | + unsigned long * unsigned_long_ptr() { return NULL; } |
| 52 | + signed long long * signed_long_long_ptr() { return NULL; } |
| 53 | + unsigned long long * unsigned_long_long_ptr() { return NULL; } |
| 54 | + |
20 | 55 | size_t signed_char_size() { return sizeof (signed char); }
|
21 | 56 | size_t unsigned_char_size() { return sizeof (unsigned char); }
|
22 | 57 | size_t signed_short_size() { return sizeof (signed short); }
|
|
0 commit comments