Skip to content

Commit 0885867

Browse files
committed
Experimenting with Markup
1 parent 44d3944 commit 0885867

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ A ring buffer is used when passing asynchronous io between two threads. In the c
1616

1717
### Constructor
1818

19-
'''
19+
```
2020
RingBuf* RingBuf_new(int size, int len);
21-
'''
21+
```
2222

2323
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.
2424
This would be the equivalent of `new RingBuf(int size, int len)` in C++.
2525

2626
### Deconstructor
2727

28-
'''
28+
```
2929
int RingBuf_delete(RingBuf *self);
30-
'''
30+
```
3131

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

0 commit comments

Comments
 (0)