1 // Compile this with: 2 // g++ -g -shared -o libtest36-leaf-v1.so test36-leaf-v1.cc 3 4 struct leaf1 5 { 6 int m0; 7 char m1; 8 }; // end struct leaf1 9 10 struct leaf2 11 { 12 leaf1 member0; 13 char member1; 14 }; // end struct leaf2 15 16 struct struct_type 17 { 18 leaf2* m0; 19 }; 20 21 void interface1(struct_type *)22interface1(struct_type*) 23 {} 24 25 void interface2(struct_type &)26interface2(struct_type&) 27 {} 28 29 void interface3(struct_type **)30interface3(struct_type**) 31 {} 32