Skip to content

Commit

Permalink
introduce helper macros for automatic offset increment after dtoh
Browse files Browse the repository at this point in the history
The idea is to remove 'manual' offset adjustments:
```
unsigned offset = 0;
unsigned val = dtoh32o(data, offset);
// offset is now 4
```

Also contains some code beautification near the use of dtoh style macros.
  • Loading branch information
axxel authored and msmeissn committed Sep 24, 2024
1 parent 0592076 commit 910f0d9
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 236 deletions.
Loading

0 comments on commit 910f0d9

Please sign in to comment.