diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
commit | 9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch) | |
tree | a02c2a507b3d536182d81e78b878b6b29c617cb9 /src/vector.h | |
parent | 1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff) | |
download | fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip |
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/vector.h')
-rw-r--r-- | src/vector.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vector.h b/src/vector.h index 8b60f4a..a5c60d1 100644 --- a/src/vector.h +++ b/src/vector.h @@ -67,7 +67,7 @@ void _fastd_vector_delete(fastd_vector_desc_t *desc, void **data, size_t pos, si */ #define VECTOR_RESIZE(v, n) ({ \ __typeof__(v) *_v = &(v); \ - _fastd_vector_resize(&_v->desc, (void**)&_v->data, (n), sizeof(*_v->data)); \ + _fastd_vector_resize(&_v->desc, (void **)&_v->data, (n), sizeof(*_v->data)); \ }) /** @@ -106,7 +106,7 @@ void _fastd_vector_delete(fastd_vector_desc_t *desc, void **data, size_t pos, si #define VECTOR_INSERT(v, elem, pos) ({ \ __typeof__(v) *_v = &(v); \ __typeof__(*_v->data) _e = (elem); \ - _fastd_vector_insert(&_v->desc, (void**)&_v->data, &_e, (pos), sizeof(_e)); \ + _fastd_vector_insert(&_v->desc, (void **)&_v->data, &_e, (pos), sizeof(_e)); \ }) /** @@ -117,7 +117,7 @@ void _fastd_vector_delete(fastd_vector_desc_t *desc, void **data, size_t pos, si #define VECTOR_ADD(v, elem) ({ \ __typeof__(v) *_v = &(v); \ __typeof__(*_v->data) _e = (elem); \ - _fastd_vector_insert(&_v->desc, (void**)&_v->data, &_e, _v->desc.length, sizeof(_e)); \ + _fastd_vector_insert(&_v->desc, (void **)&_v->data, &_e, _v->desc.length, sizeof(_e)); \ }) /** @@ -127,7 +127,7 @@ void _fastd_vector_delete(fastd_vector_desc_t *desc, void **data, size_t pos, si */ #define VECTOR_DELETE(v, pos) ({ \ __typeof__(v) *_v = &(v); \ - _fastd_vector_delete(&_v->desc, (void**)&_v->data, (pos), sizeof(*_v->data)); \ + _fastd_vector_delete(&_v->desc, (void **)&_v->data, (pos), sizeof(*_v->data)); \ }) /** |