ObjFW  Check-in [a0a5ecf01f]

Overview
Comment:Remove two method implementations not used anymore.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a0a5ecf01fe6a8de2b0519300180674e771b22643c9bcd62a2dd59942dbea4cc
User & Date: js on 2009-12-06 00:27:10
Other Links: manifest | tags
Context
2009-12-06
14:06
Move ObjFW definitions to a header that gets installed. check-in: 3631d46ccc user: js tags: trunk
00:27
Remove two method implementations not used anymore. check-in: a0a5ecf01f user: js tags: trunk
2009-12-05
18:15
Update TODO. check-in: 741eca944e user: js tags: trunk
Changes

Modified src/OFNumber.m from [3600c71552] to [7dc3a8f62d].

710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
710
711
712
713
714
715
716





717
718
719
720
721
722
723







-
-
-
-
-







}

- (double)asDouble
{
	RETURN_AS(double)
}

- (long double)asLongDouble
{
	RETURN_AS(long double)
}

- (BOOL)isEqual: (OFObject*)obj
{
	if (![obj isKindOfClass: [OFNumber class]])
		return NO;

	switch (type) {
	case OF_NUMBER_CHAR:

Modified src/OFSocket.m from [866349c818] to [58e9bceec8].

84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
84
85
86
87
88
89
90









91
92
93
94
95
96
97







-
-
-
-
-
-
-
-
-







		@throw [OFWriteFailedException newWithClass: isa
						       size: size];

	/* This is safe, as we already checked for -1 */
	return ret;
}

- (size_t)writeCString: (const char*)str
{
	if (sock == INVALID_SOCKET)
		@throw [OFNotConnectedException newWithClass: isa];

	return [self writeNBytes: strlen(str)
		      fromBuffer: str];
}

- setBlocking: (BOOL)enable
{
#ifndef _WIN32
	int flags;

	if ((flags = fcntl(sock, F_GETFL)) == -1)
		@throw [OFSetOptionFailedException newWithClass: isa];