Files
cKit/Memory/c_Alignment.h
T
2026-08-29 00:53:40 +08:00

22 lines
365 B
C

#ifndef INCLUDED_C_ALIGNMENT_H
#define INCLUDED_C_ALIGNMENT_H
typedef union {
#ifdef C_ALIGN_MAX_BYTES
char pad[C_ALIGN_MAX_BYTES];
#else
int i;
long l;
long *lp;
void *p;
void (*fp)(void);
float f;
double d;
long double ld;
#endif
}c_Alignment_t ;
#define C_ALIGN_SIZE sizeof(c_Alignment_t)
#endif /*INCLUDED_C_ALIGNMENT_H*/