mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-08 08:13:56 +00:00
added extension support, and changed invoke parameters for custom serialization function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user