Patch by Alex Wilson (compilation fixes by myself): Extended the archiving/

unarchiving protocol to support archival of arbitrary object graphs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37431 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-07-08 14:54:25 +00:00
parent 8fbd792dd8
commit e5150e2847
10 changed files with 990 additions and 29 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2005-2009, Haiku Inc. All rights reserved.
* Copyright 2005-2010, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -333,6 +333,8 @@ BMessage::_InitCommon(bool initHeader)
fOriginal = NULL;
fQueueLink = NULL;
fArchivingPointer = NULL;
if (initHeader)
return _InitHeader();
@@ -394,6 +396,8 @@ BMessage::_Clear()
free(fData);
fData = NULL;
fArchivingPointer = NULL;
fFieldsAvailable = 0;
fDataAvailable = 0;