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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user