ObjFW  Check-in [d64e1d5727]

Overview
Comment:Add a property for -[OFStream isAtEndOfStream].
This makes stream.atEndOfStream work.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d64e1d57271388d736e338be7631fba88f499609a1b7aa032746b7861ec31ce7
User & Date: js on 2011-12-08 04:19:53
Other Links: manifest | tags
Context
2011-12-10
13:17
Add JSON encoding. check-in: 243a96fc2d user: js tags: trunk
2011-12-08
04:19
Add a property for -[OFStream isAtEndOfStream].
This makes stream.atEndOfStream work.
check-in: d64e1d5727 user: js tags: trunk
03:53
Only add -fgnu89-inline if it works with -Werror. check-in: 9faeb7665f user: js tags: trunk
Changes

Modified src/OFStream.h from [73c72f5177] to [7727de6ef5].

46
47
48
49
50
51
52

53
54
55
56
57
58
59
	BOOL   buffersWrites;
	BOOL   blocking;
	BOOL   waitingForDelimiter;
}

#ifdef OF_HAVE_PROPERTIES
@property (assign, getter=isBlocking) BOOL blocking;

#endif

/**
 * \brief Returns a boolean whether the end of the stream has been reached.
 *
 * \return A boolean whether the end of the stream has been reached
 */







>







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	BOOL   buffersWrites;
	BOOL   blocking;
	BOOL   waitingForDelimiter;
}

#ifdef OF_HAVE_PROPERTIES
@property (assign, getter=isBlocking) BOOL blocking;
@property (readonly, getter=isAtEndOfStream) BOOL atEndOfStream;
#endif

/**
 * \brief Returns a boolean whether the end of the stream has been reached.
 *
 * \return A boolean whether the end of the stream has been reached
 */