ext function redesign and documentation

This commit is contained in:
fraillt
2017-08-11 16:11:55 +03:00
parent 4ad65f8384
commit 1986491173
20 changed files with 570 additions and 249 deletions

View File

@@ -27,11 +27,15 @@ struct MyStruct {
uint32_t i;
MyEnum e;
std::vector<float> fs;
char16_t x;
bool y;
};
//define how object should be serialized/deserialized
SERIALIZE(MyStruct) {
return s.
value1(o.y).
value2(o.x).
value4(o.i).
value2(o.e).
container4(o.fs, 10);