| 155 | } |
| 156 | |
| 157 | void testNest(Xtruct2& out, const Xtruct2& nest) override { |
| 158 | const Xtruct& thing = nest.struct_thing; |
| 159 | printf("testNest({%d, {\"%s\", %d, %d, %" PRId64 "}, %d})\n", |
| 160 | (int)nest.byte_thing, |
| 161 | thing.string_thing.c_str(), |
| 162 | (int)thing.byte_thing, |
| 163 | thing.i32_thing, |
| 164 | thing.i64_thing, |
| 165 | nest.i32_thing); |
| 166 | out = nest; |
| 167 | } |
| 168 | |
| 169 | void testMap(map<int32_t, int32_t>& out, const map<int32_t, int32_t>& thing) override { |
| 170 | printf("testMap({"); |