Add more const-ness to the stream endpoint/pipe functions where possible.
This commit is contained in:
parent
272d446d32
commit
0019fbd129
13 changed files with 50 additions and 46 deletions
|
@ -107,12 +107,12 @@
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
uint8_t* In; /**< Current storage location in the circular buffer */
|
||||
uint8_t* Out; /**< Current retrieval location in the circular buffer */
|
||||
uint8_t* Start; /**< Pointer to the start of the buffer's underlying storage array */
|
||||
uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array */
|
||||
uint8_t Size; /**< Size of the buffer's underlying storage array */
|
||||
uint16_t Count; /**< Number of bytes currently stored in the buffer */
|
||||
uint8_t* In; /**< Current storage location in the circular buffer. */
|
||||
uint8_t* Out; /**< Current retrieval location in the circular buffer. */
|
||||
uint8_t* Start; /**< Pointer to the start of the buffer's underlying storage array. */
|
||||
uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array. */
|
||||
uint8_t Size; /**< Size of the buffer's underlying storage array. */
|
||||
uint16_t Count; /**< Number of bytes currently stored in the buffer. */
|
||||
} RingBuffer_t;
|
||||
|
||||
/* Inline Functions: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue