Skip to content

Commit 44d3944

Browse files
committed
Experimenting with Markup
1 parent 855e11b commit 44d3944

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,18 @@ A ring buffer is used when passing asynchronous io between two threads. In the c
1515

1616

1717
### Constructor
18-
`RingBuf* RingBuf_new(int size, int len);`
18+
19+
'''
20+
RingBuf* RingBuf_new(int size, int len);
21+
'''
1922

2023
Creates a new RingBuf object of len elements that are size bytes each. A poetinter to the new RingBuf object is returned on success. On failure (lack of memory), a null pointer is returned.
2124
This would be the equivalent of `new RingBuf(int size, int len)` in C++.
2225

2326
### Deconstructor
2427

25-
`int RingBuf_delete(RingBuf *self);`
28+
'''
29+
int RingBuf_delete(RingBuf *self);
30+
'''
2631

2732
Deletes the RingBuf, and frees up all the memory associated with it.

0 commit comments

Comments
 (0)