| 1 | typedef struct Struct1 { |
| 2 | int someValue; |
| 3 | } Struct1; |
| 4 | |
| 5 | typedef Struct1* Struct1Ptr; |
| 6 | |
| 7 | Struct1 return_struct1_by_value(int i); |
| 8 | Struct1Ptr return_pointer_to_struct1(char string[]); |
| 9 | Struct1* direct_return_pointer_to_struct1(void); |
| 10 | |
| 11 | typedef struct Struct2 { |
| 12 | int someValue; |
| 13 | } Struct2; |
| 14 | |
| 15 | typedef Struct2* Struct2Ptr; |
| 16 | |
| 17 | Struct2 return_struct2_by_value(int i); |
| 18 | Struct2Ptr return_pointer_to_struct2(char string[]); |
| 19 | Struct2* direct_return_pointer_to_struct2(void); |
| 20 | |
| 21 | extern void return_nothing(void); |
| 22 | extern int return_int(int ints[]); |