fs/io/Reader: add "nonnull" attribute
This commit is contained in:
parent
5d2506e697
commit
7cc25f91ff
@ -45,6 +45,7 @@ public:
|
|||||||
* @return the number of bytes read into the given buffer or 0
|
* @return the number of bytes read into the given buffer or 0
|
||||||
* on error/end-of-stream
|
* on error/end-of-stream
|
||||||
*/
|
*/
|
||||||
|
gcc_nonnull_all
|
||||||
virtual size_t Read(void *data, size_t size, Error &error) = 0;
|
virtual size_t Read(void *data, size_t size, Error &error) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user