ObjFW  Diff

Differences From Artifact [f8c1d060d7]:

To Artifact [0430f3b8bb]:


21
22
23
24
25
26
27
28
29
30



31
32
33
34
35
36
37

38
39
40
41
42
43
44
45
21
22
23
24
25
26
27



28
29
30

31
32
33
34
35

36

37
38
39
40
41
42
43







-
-
-
+
+
+
-





-
+
-







@class OFSeekableStream;

/*!
 * @brief An exception indicating that seeking in a stream failed.
 */
@interface OFSeekFailedException: OFException
{
	OFSeekableStream *stream;
	off_t		 offset;
	int		 whence;
	OFSeekableStream *_stream;
	off_t _offset;
	int _whence, _errNo;
	int		 errNo;
}

#ifdef OF_HAVE_PROPERTIES
@property (readonly, retain, nonatomic) OFSeekableStream *stream;
@property (readonly) off_t offset;
@property (readonly) int whence;
@property (readonly) int whence, errNo;
@property (readonly) int errNo;
#endif

/*!
 * @brief Creates a new, autoreleased seek failed exception.
 *
 * @param class_ The class of the object which caused the exception
 * @param stream The stream for which seeking failed