mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
92426fe6cb
commit
a7aae3556f
3 changed files with 0 additions and 60 deletions
|
@ -109,20 +109,6 @@ static BOOL debug_connected_coder = NO;
|
||||||
return sequence_number;
|
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 */
|
/* This is called by Coder's designated object encoder */
|
||||||
- (void) _doEncodeObject: anObj
|
- (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
|
#if CONNECTION_WIDE_OBJECT_REFERENCES
|
||||||
|
|
||||||
|
|
|
@ -233,10 +233,6 @@ my_object_is_class(id object)
|
||||||
|
|
||||||
/* These _coder... methods may be overriden by subclasses so that
|
/* These _coder... methods may be overriden by subclasses so that
|
||||||
cross-references can be kept differently.
|
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.
|
over again.
|
||||||
*/
|
*/
|
||||||
- (unsigned) _coderCreateReferenceForObject: anObj
|
- (unsigned) _coderCreateReferenceForObject: anObj
|
||||||
|
|
|
@ -156,20 +156,6 @@ static BOOL debug_connected_coder = NO;
|
||||||
return sequence_number;
|
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
|
* These three methods are called by Coder's designated object encoder when
|
||||||
|
@ -335,20 +321,6 @@ return 0;
|
||||||
return cd;
|
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. */
|
/* Access to ivars. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue