Skip to content
Snippets Groups Projects

Inline functions for particles

Merged Loic Hausammann requested to merge inline_particles into master
7 files
+ 127
127
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 1
2
@@ -51,7 +51,6 @@ void csds_loader_io_munmap_file(struct mapped_file *map);
/**
* @brief read a mask with its offset.
*
* @param h #header file structure.
* @param data Pointer to the data to read.
* @param mask (output) mask read from the data.
* @param diff_offset (output) offset difference to previous/next corresponding
@@ -60,7 +59,7 @@ void csds_loader_io_munmap_file(struct mapped_file *map);
* @return memory after the record header.
*/
__attribute__((always_inline)) INLINE static char *csds_loader_io_read_mask(
const struct header *h, char *data, mask_type *mask, size_t *diff_offset) {
char *data, mask_type *mask, size_t *diff_offset) {
/* read mask */
if (mask) {
*mask = 0;
Loading