[Libreoffice-commits] core.git: sal/osl
Chris Sherlock
chris.sherlock79 at gmail.com
Sun Jun 25 09:55:16 UTC 2017
sal/osl/unx/file.cxx | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
New commits:
commit a56e7f790dda566edb75a82fdfcc9e0cbb4e8dc3
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat Jun 24 15:11:53 2017 +1000
osl: doxygen comments in unx/file.cxx
Change-Id: I26d8b665e8940fd3821d29ced0046c2d1dd5a59c
Reviewed-on: https://gerrit.libreoffice.org/39200
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 945d989def21..1a469d78d8d1 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -60,7 +60,7 @@
struct FileHandle_Impl
{
pthread_mutex_t m_mutex;
- rtl_String * m_strFilePath; /* holds native file path */
+ rtl_String * m_strFilePath; /*< holds native file path */
int m_fd;
enum Kind
@@ -73,19 +73,19 @@ struct FileHandle_Impl
*/
enum StateBits
{
- STATE_SEEKABLE = 1, /* default */
- STATE_READABLE = 2, /* default */
- STATE_WRITEABLE = 4, /* open() sets, write() requires, else osl_File_E_BADF */
- STATE_MODIFIED = 8 /* write() sets, flush() resets */
+ STATE_SEEKABLE = 1, /*< default */
+ STATE_READABLE = 2, /*< default */
+ STATE_WRITEABLE = 4, /*< open() sets, write() requires, else osl_File_E_BADF */
+ STATE_MODIFIED = 8 /*< write() sets, flush() resets */
};
int m_state;
- sal_uInt64 m_size; /* file size */
- off_t m_offset; /* physical offset from begin of file */
- off_t m_fileptr; /* logical offset from begin of file */
+ sal_uInt64 m_size; /*< file size */
+ off_t m_offset; /*< physical offset from begin of file */
+ off_t m_fileptr; /*< logical offset from begin of file */
- off_t m_bufptr; /* buffer offset from begin of file */
- size_t m_buflen; /* buffer filled [0, m_bufsiz - 1] */
+ off_t m_bufptr; /*< buffer offset from begin of file */
+ size_t m_buflen; /*< buffer filled [0, m_bufsiz - 1] */
size_t m_bufsiz;
sal_uInt8 * m_buffer;
@@ -161,8 +161,6 @@ struct FileHandle_Impl
~Allocator();
};
- /** Guard.
- */
class Guard
{
pthread_mutex_t * m_mutex;
More information about the Libreoffice-commits
mailing list