Mass reformat
This commit is contained in:
parent
4d27def35e
commit
df11e34235
27 changed files with 121 additions and 136 deletions
|
|
@ -74,6 +74,10 @@ void *dynbuf_get(Dynbuf *v, size_t index) {
|
|||
return (char *)v->data + index * v->elem_size;
|
||||
}
|
||||
|
||||
inline size_t dynbuf_size(const Dynbuf *v) { return v->length; }
|
||||
inline size_t dynbuf_size(const Dynbuf *v) {
|
||||
return v->length;
|
||||
}
|
||||
|
||||
inline size_t dynbuf_capacity(const Dynbuf *v) { return v->capacity; }
|
||||
inline size_t dynbuf_capacity(const Dynbuf *v) {
|
||||
return v->capacity;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue