infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
PackedStruct Struct Reference

A struct that will have different layouts when packed vs. non-packed. More...

#include <types.h>

Public Attributes

char a
 
uint64_t b
 

Detailed Description

A struct that will have different layouts when packed vs. non-packed.

Non-packed size on x64: 16 bytes (char a, 7 bytes padding, uint64_t b). Packed size: 9 bytes (char a, uint64_t b)

Member Data Documentation

◆ a

char PackedStruct::a

◆ b

uint64_t PackedStruct::b

The documentation for this struct was generated from the following file: