core: ringbuffer: make open_read_buffer pointer parameter const-correct
This commit is contained in:
@@ -40,9 +40,9 @@ BLUE_API size_t b_ringbuffer_write_capacity_remaining(const b_ringbuffer *buf);
|
||||
BLUE_API size_t b_ringbuffer_available_data_remaining(const b_ringbuffer *buf);
|
||||
|
||||
BLUE_API b_status b_ringbuffer_open_read_buffer(
|
||||
b_ringbuffer *buf, void **ptr, size_t *length);
|
||||
b_ringbuffer *buf, const void **ptr, size_t *length);
|
||||
BLUE_API b_status b_ringbuffer_close_read_buffer(
|
||||
b_ringbuffer *buf, void **ptr, size_t nr_read);
|
||||
b_ringbuffer *buf, const void **ptr, size_t nr_read);
|
||||
|
||||
BLUE_API b_status b_ringbuffer_open_write_buffer(
|
||||
b_ringbuffer *buf, void **ptr, size_t *capacity);
|
||||
|
||||
Reference in New Issue
Block a user