added extension support, and changed invoke parameters for custom serialization function

This commit is contained in:
fraillt
2017-06-09 11:41:56 +03:00
parent 1176f4908e
commit 014b072b96
16 changed files with 259 additions and 99 deletions

View File

@@ -35,9 +35,9 @@ struct MyStruct {
//define how object should be serialized/deserialized
SERIALIZE(MyStruct) {
return s.
value(o.i).
value(o.e).
container(o.fs, 100);
value4(o.i).
value4(o.e).
container4(o.fs, 100);
}
using namespace bitsery;