mirror of
https://github.com/devkitPro/wut.git
synced 2026-07-19 00:31:28 -05:00
24 lines
340 B
C
24 lines
340 B
C
#pragma once
|
|
#include "wut_structsize.h"
|
|
#include "wut_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define WUT_LIB_HEADER_START \
|
|
extern "C" { \
|
|
_Pragma("pack(push, 1)")
|
|
|
|
#define WUT_LIB_HEADER_END \
|
|
_Pragma("pack(pop)") \
|
|
}
|
|
|
|
#else
|
|
|
|
#define WUT_LIB_HEADER_START \
|
|
_Pragma("pack(push, 1)")
|
|
|
|
#define WUT_LIB_HEADER_END \
|
|
_Pragma("pack(pop)")
|
|
|
|
#endif
|