Skip to content

Commit

Permalink
update alignment again
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 6, 2023
1 parent 33e449d commit 4be0342
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ZitiNativeApiForDotnetCore/includes/ziti4dotnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
extern "C" {
#endif

#define FIELD_WITH_CHECK(FIELD_TYPE, FIELD_NAME) \
uint32_t FIELD_NAME##_offset; \
uint32_t FIELD_NAME##_size; \
const char* FIELD_NAME##_checksum; \
FIELD_TYPE FIELD_NAME;

#define FIELD_WITH_CHECK(FIELD_TYPE, FIELD_NAME) uint32_t FIELD_NAME##_offset; \
uint32_t FIELD_NAME##_size; \
const char* FIELD_NAME##_checksum; \
FIELD_TYPE FIELD_NAME
typedef struct ziti_types_s {
FIELD_WITH_CHECK(uint32_t, total_size);

Expand Down

0 comments on commit 4be0342

Please sign in to comment.