| 1 |
#if 0 |
| 2 |
''' ' |
| 3 |
#endif |
| 4 |
|
| 5 |
#ifdef __cplusplus |
| 6 |
template <typename T> |
| 7 |
using Box = T*; |
| 8 |
#endif |
| 9 |
|
| 10 |
#if 0 |
| 11 |
' ''' |
| 12 |
#endif |
| 13 |
|
| 14 |
|
| 15 |
#include <stdarg.h> |
| 16 |
#include <stdbool.h> |
| 17 |
#include <stdint.h> |
| 18 |
#include <stdlib.h> |
| 19 |
|
| 20 |
typedef struct NotReprC_____i32 NotReprC_____i32; |
| 21 |
|
| 22 |
typedef NotReprC_____i32 Foo; |
| 23 |
|
| 24 |
typedef struct { |
| 25 |
int32_t *number; |
| 26 |
} MyStruct; |
| 27 |
|
| 28 |
#ifdef __cplusplus |
| 29 |
extern "C" { |
| 30 |
#endif // __cplusplus |
| 31 |
|
| 32 |
void root(const Foo *a, const MyStruct *with_box); |
| 33 |
|
| 34 |
void drop_box(int32_t *x); |
| 35 |
|
| 36 |
void drop_box_opt(int32_t *x); |
| 37 |
|
| 38 |
#ifdef __cplusplus |
| 39 |
} // extern "C" |
| 40 |
#endif // __cplusplus |