mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
(read:, write:): Removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@106 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a5ed6ef8f2
commit
f531c211f6
2 changed files with 0 additions and 48 deletions
|
@ -84,30 +84,6 @@
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
- write: (TypedStream*)aStream
|
|
||||||
{
|
|
||||||
const char *encoding;
|
|
||||||
|
|
||||||
[super write:aStream];
|
|
||||||
encoding = elt_get_encoding(_elt_comparison_function);
|
|
||||||
objc_write_type(aStream, @encode(char*), &encoding);
|
|
||||||
objc_write_types(aStream, encoding,
|
|
||||||
elt_get_ptr_to_member(encoding, &_element));
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- read: (TypedStream*)aStream
|
|
||||||
{
|
|
||||||
char *encoding;
|
|
||||||
|
|
||||||
[super read:aStream];
|
|
||||||
objc_read_type(aStream, @encode(char*), &encoding);
|
|
||||||
_elt_comparison_function = elt_get_comparison_function(encoding);
|
|
||||||
objc_read_type(aStream, encoding,
|
|
||||||
elt_get_ptr_to_member(encoding,&_element));
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (int(*)(elt,elt)) comparisonFunction
|
- (int(*)(elt,elt)) comparisonFunction
|
||||||
{
|
{
|
||||||
return _elt_comparison_function;
|
return _elt_comparison_function;
|
||||||
|
|
|
@ -84,30 +84,6 @@
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
- write: (TypedStream*)aStream
|
|
||||||
{
|
|
||||||
const char *encoding;
|
|
||||||
|
|
||||||
[super write:aStream];
|
|
||||||
encoding = elt_get_encoding(_elt_comparison_function);
|
|
||||||
objc_write_type(aStream, @encode(char*), &encoding);
|
|
||||||
objc_write_types(aStream, encoding,
|
|
||||||
elt_get_ptr_to_member(encoding, &_element));
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- read: (TypedStream*)aStream
|
|
||||||
{
|
|
||||||
char *encoding;
|
|
||||||
|
|
||||||
[super read:aStream];
|
|
||||||
objc_read_type(aStream, @encode(char*), &encoding);
|
|
||||||
_elt_comparison_function = elt_get_comparison_function(encoding);
|
|
||||||
objc_read_type(aStream, encoding,
|
|
||||||
elt_get_ptr_to_member(encoding,&_element));
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (int(*)(elt,elt)) comparisonFunction
|
- (int(*)(elt,elt)) comparisonFunction
|
||||||
{
|
{
|
||||||
return _elt_comparison_function;
|
return _elt_comparison_function;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue