Tidied coder stuff to avoid cross-refs in connections

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5008 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-10-13 08:28:45 +00:00
parent 92426fe6cb
commit a7aae3556f
3 changed files with 0 additions and 60 deletions

View file

@ -109,20 +109,6 @@ static BOOL debug_connected_coder = NO;
return sequence_number;
}
/* Cache the const ptr's in the Connection, not separately for each
created ConnectedCoder. */
- (unsigned) _coderReferenceForConstPtr: (const void*)ptr
{
return 0;
}
- (unsigned) _coderCreateReferenceForConstPtr: (const void*)ptr
{
return 0;
}
/* This is called by Coder's designated object encoder */
- (void) _doEncodeObject: anObj
@ -216,20 +202,6 @@ static BOOL debug_connected_coder = NO;
}
/* Cache the const ptr's in the Connection, not separately for each
created ConnectedCoder. */
- (unsigned) _coderCreateReferenceForConstPtr: (const void*)ptr
{
return 0;
}
- (const void*) _coderConstPtrAtReference: (unsigned)xref
{
return 0;
}
#if CONNECTION_WIDE_OBJECT_REFERENCES

View file

@ -233,10 +233,6 @@ my_object_is_class(id object)
/* These _coder... methods may be overriden by subclasses so that
cross-references can be kept differently.
For instance, ConnectedCoder keeps cross-references to const
pointers on a per-Connection basis instead of a per-Coder basis.
We avoid encoding/decoding the same classes and selectors over and
over again.
*/
- (unsigned) _coderCreateReferenceForObject: anObj

View file

@ -156,20 +156,6 @@ static BOOL debug_connected_coder = NO;
return sequence_number;
}
/* Cache the const ptr's in the Connection, not separately for each
created PortCoder. */
- (unsigned) _coderReferenceForConstPtr: (const void*)ptr
{
return 0;
}
- (unsigned) _coderCreateReferenceForConstPtr: (const void*)ptr
{
return 0;
}
/*
* These three methods are called by Coder's designated object encoder when
@ -335,20 +321,6 @@ return 0;
return cd;
}
/* Cache the const ptr's in the Connection, not separately for each
created PortCoder. */
- (unsigned) _coderCreateReferenceForConstPtr: (const void*)ptr
{
return 0;
}
- (const void*) _coderConstPtrAtReference: (unsigned)xref
{
return 0;
}
/* Access to ivars. */