]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/stream.tex
mention that Wait() relocks the mutex before returning (patch 1482390)
[wxWidgets.git] / docs / latex / wx / stream.tex
index 6d94bdeca1b5fdd15427871991041a4b5c7387f7..45a146774a9e35c75b5c626f4ae4d6fb40b3d256 100644 (file)
@@ -95,8 +95,8 @@ It returns the size of the data read. If the returned size is different of the s
 
 \func{size\_t}{Read}{\param{wxStreamBuffer *}{buffer}}
 
-Reads a {\it buffer}. The function returns when {\it buffer} is full or when there isn't
-data anymore in the current buffer.
+Copies data to {\it buffer}. The function returns when {\it buffer} is full or when there isn't
+any more data in the current buffer.
 
 \wxheading{See also}
 
@@ -226,19 +226,19 @@ The created IO buffer is growable by the object.
 
 \membersection{wxStreamBuffer::GetBufferStart}\label{wxstreambuffergetbufferstart}
 
-\constfunc{char *}{GetBufferStart}{\void}
+\constfunc{void *}{GetBufferStart}{\void}
 
 Returns a pointer on the start of the stream buffer.
 
 \membersection{wxStreamBuffer::GetBufferEnd}\label{wxstreambuffergetbufferend}
 
-\constfunc{char *}{GetBufferEnd}{\void}
+\constfunc{void *}{GetBufferEnd}{\void}
 
 Returns a pointer on the end of the stream buffer.
 
 \membersection{wxStreamBuffer::GetBufferPos}\label{wxstreambuffergetbufferpos}
 
-\constfunc{char *}{GetBufferPos}{\void}
+\constfunc{void *}{GetBufferPos}{\void}
 
 Returns a pointer on the current position of the stream buffer.
 
@@ -257,7 +257,7 @@ Sets the current position (in bytes) in the stream buffer.
 \wxheading{Warning}
 
 Since it is a very low-level function, there is no check on the position:
-specifing an invalid position can induce unexpected results.
+specifying an invalid position can induce unexpected results.
 
 \membersection{wxStreamBuffer::GetLastAccess}\label{wxstreambuffergetlastaccess}