ObjFW  Diff

Differences From Artifact [4a5715f270]:

To Artifact [32be342324]:


42
43
44
45
46
47
48
49
50
51
52
53
54
55


56
57

58
59
60
61
62
63


64

65


66
67
68
69
70
71
72
42
43
44
45
46
47
48


49




50
51
52

53
54
55




56
57
58
59

60
61
62
63
64
65
66
67
68







-
-

-
-
-
-
+
+

-
+


-
-
-
-
+
+

+
-
+
+







#else
	BPTR _handle;
	bool _closable;
#endif
	bool _atEndOfStream;
}

- (instancetype)init OF_UNAVAILABLE;

/*!
 * @brief Query the underlying terminal for the number of columns.
 *
 * @return The number of columns, or -1 if there is no underlying terminal or
 *	   the number of columns could not be queried
 * The number of columns, or -1 if there is no underlying terminal or the
 * number of columns could not be queried.
 */
- (int)columns;
@property (readonly, nonatomic) int columns;

/*!
 * @brief Query the underlying terminal for the number of rows.
 *
 * @return The number of rows, or -1 if there is no underlying terminal or the
 *	   number of rows could not be queried
 * The number of rows, or -1 if there is no underlying terminal or the number
 * of rows could not be queried
 */
@property (readonly, nonatomic) int rows;
- (int)rows;

- (instancetype)init OF_UNAVAILABLE;
@end

#ifdef __cplusplus
extern "C" {
#endif
/*! @file */