Differences From Artifact [e4c0b1e08b]:
- File
src/OFFile.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 4028) [annotate] [blame] [check-ins using]
To Artifact [b0c1c66905]:
- File src/OFFile.h — part of check-in [16c05e87e1] at 2017-05-07 23:14:22 on branch trunk — Add OF_UNAVAILABLE (user: js, size: 4052) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
76 77 78 79 80 81 82 83 84 85 86 87 88 89 | * @brief Creates a new OFFile with the specified file descriptor. * * @param fd A file descriptor, returned from for example open(). * It is not closed when the OFFile object is deallocated! * @return A new autoreleased OFFile */ + (instancetype)fileWithFileDescriptor: (int)fd; /*! * @brief Initializes an already allocated OFFile. * * @param path The path to the file to open as a string * @param mode The mode in which the file should be opened.@n * Possible modes are: | > > | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | * @brief Creates a new OFFile with the specified file descriptor. * * @param fd A file descriptor, returned from for example open(). * It is not closed when the OFFile object is deallocated! * @return A new autoreleased OFFile */ + (instancetype)fileWithFileDescriptor: (int)fd; - init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated OFFile. * * @param path The path to the file to open as a string * @param mode The mode in which the file should be opened.@n * Possible modes are: |
︙ | ︙ |