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