mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-21 07:20:28 -04:00
Better naming for serialization helper macro
This commit is contained in:
parent
18891645e0
commit
9d40d416f6
8 changed files with 86 additions and 85 deletions
|
@ -73,12 +73,12 @@ void RsNxsSyncMsgItem::serial_process(RsGenericSerializer::SerializeJob j,RsGene
|
|||
void RsNxsMsg::serial_process( RsGenericSerializer::SerializeJob j,
|
||||
RsGenericSerializer::SerializeContext& ctx )
|
||||
{
|
||||
RS_REGISTER_SERIAL_MEMBER_TYPED(transactionNumber, uint32_t);
|
||||
RS_REGISTER_SERIAL_MEMBER_TYPED(pos, uint8_t);
|
||||
RS_REGISTER_SERIAL_MEMBER(msgId);
|
||||
RS_REGISTER_SERIAL_MEMBER(grpId);
|
||||
RS_REGISTER_SERIAL_MEMBER_TYPED(msg, RsTlvItem);
|
||||
RS_REGISTER_SERIAL_MEMBER_TYPED(meta, RsTlvItem);
|
||||
RS_PROCESS_SERIAL_MEMBER_TYPED(transactionNumber, uint32_t);
|
||||
RS_PROCESS_SERIAL_MEMBER_TYPED(pos, uint8_t);
|
||||
RS_PROCESS_SERIAL_MEMBER(msgId);
|
||||
RS_PROCESS_SERIAL_MEMBER(grpId);
|
||||
RS_PROCESS_SERIAL_MEMBER_TYPED(msg, RsTlvItem);
|
||||
RS_PROCESS_SERIAL_MEMBER_TYPED(meta, RsTlvItem);
|
||||
}
|
||||
|
||||
void RsNxsGrp::serial_process(RsGenericSerializer::SerializeJob j,RsGenericSerializer::SerializeContext& ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue