projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more const-ness to the stream endpoint/pipe functions where possible.
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
PipeStream.h
diff --git
a/LUFA/Drivers/USB/HighLevel/PipeStream.h
b/LUFA/Drivers/USB/HighLevel/PipeStream.h
index
a327a89
..
b2d392a
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/PipeStream.h
+++ b/
LUFA/Drivers/USB/HighLevel/PipeStream.h
@@
-258,7
+258,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_Stream_LE(const void* Buffer,
\r
+ uint8_t Pipe_Write_Stream_LE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-278,7
+278,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_Stream_BE(const void* Buffer,
\r
+ uint8_t Pipe_Write_Stream_BE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-339,7
+339,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Read_Stream_LE(void* Buffer,
\r
+ uint8_t Pipe_Read_Stream_LE(void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-359,7
+359,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Read_Stream_BE(void* Buffer,
\r
+ uint8_t Pipe_Read_Stream_BE(void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r
@@
-376,7
+376,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_EStream_LE(const void* Buffer,
\r
+ uint8_t Pipe_Write_EStream_LE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-389,7
+389,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_EStream_BE(const void* Buffer,
\r
+ uint8_t Pipe_Write_EStream_BE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-402,7
+402,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Read_EStream_LE(void* Buffer,
\r
+ uint8_t Pipe_Read_EStream_LE(void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-415,7
+415,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Read_EStream_BE(void* Buffer,
\r
+ uint8_t Pipe_Read_EStream_BE(void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r
@@
-434,7
+434,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_PStream_LE(const void* Buffer,
\r
+ uint8_t Pipe_Write_PStream_LE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
\r
@@
-449,7
+449,7
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
\r
*/
\r
- uint8_t Pipe_Write_PStream_BE(const void* Buffer,
\r
+ uint8_t Pipe_Write_PStream_BE(const void*
const
Buffer,
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r
uint16_t Length,
\r
uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1);
\r
//@}
\r