You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2012/02/10 23:48:50 UTC
[lucy-commits] svn commit: r1242969 - /incubator/lucy/trunk/core/Lucy/Object/Obj.cfh
Author: marvin
Date: Fri Feb 10 22:48:50 2012
New Revision: 1242969
URL: http://svn.apache.org/viewvc?rev=1242969&view=rev
Log:
Remove obsolete requirements from Deserialize() and Load() APIs.
Modified:
incubator/lucy/trunk/core/Lucy/Object/Obj.cfh
Modified: incubator/lucy/trunk/core/Lucy/Object/Obj.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Object/Obj.cfh?rev=1242969&r1=1242968&r2=1242969&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Object/Obj.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Object/Obj.cfh Fri Feb 10 22:48:50 2012
@@ -161,9 +161,6 @@ class Lucy::Object::Obj {
/** Inflate an object by reading the serialized form from the instream.
* The assumption is that the object has been allocated, assigned a
* refcount and a vtable, but that everything else is uninitialized.
- *
- * Implementations should also be prepared to handle NULL as an argument,
- * in which case they should create the object from nothing.
*/
public incremented Obj*
Deserialize(decremented Obj *self, InStream *instream);
@@ -176,8 +173,7 @@ class Lucy::Object::Obj {
public incremented Obj*
Dump(Obj *self);
- /** Create an object from the output of a call to Dump(). Implementations
- * must not reference the caller.
+ /** Create an object from the output of a call to Dump().
*
* @param dump The output of Dump().
*/