mirror of https://bitbucket.org/ausocean/av.git
Corrected typo in comment and also improved comment
This commit is contained in:
parent
cdde22b2d6
commit
4783f39400
|
@ -50,7 +50,7 @@ type ringBuffer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
New returns the addres of a new ring buffer with the parameters specified.
|
New returns a pointer to a newly allocated RingBuffer with the parameters specified.
|
||||||
It initialises fields and allocates the required dataMemory.
|
It initialises fields and allocates the required dataMemory.
|
||||||
*/
|
*/
|
||||||
func NewRingBuffer(bufferSize int, elementSize int) (rb *ringBuffer) {
|
func NewRingBuffer(bufferSize int, elementSize int) (rb *ringBuffer) {
|
||||||
|
|
Loading…
Reference in New Issue