Remove _assert_struct_size macro
This commit is contained in:
parent
c2c3cc8d16
commit
751d8ef488
@ -5,11 +5,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/// @cond INTERNAL
|
|
||||||
#define _assert_struct_size(s, size) \
|
|
||||||
_Static_assert(sizeof(s) == (size), #s " is not of size " #size "!")
|
|
||||||
/// @endcond
|
|
||||||
|
|
||||||
/// Magic value needed to launch the applet.
|
/// Magic value needed to launch the applet.
|
||||||
#define MIISELECTOR_MAGIC 0x13DE28CF
|
#define MIISELECTOR_MAGIC 0x13DE28CF
|
||||||
|
|
||||||
@ -51,9 +46,6 @@ typedef struct
|
|||||||
///< applet.
|
///< applet.
|
||||||
} MiiSelectorConf;
|
} MiiSelectorConf;
|
||||||
|
|
||||||
/// @private
|
|
||||||
_assert_struct_size(MiiSelectorConf, 0x104);
|
|
||||||
|
|
||||||
/// Size of the data describing a single Mii
|
/// Size of the data describing a single Mii
|
||||||
#define MIISELECTOR_MIIDATA_SIZE 0x5c
|
#define MIISELECTOR_MIIDATA_SIZE 0x5c
|
||||||
|
|
||||||
@ -79,11 +71,6 @@ typedef struct
|
|||||||
///< string). Zeroed otherwise.
|
///< string). Zeroed otherwise.
|
||||||
} MiiSelectorReturn;
|
} MiiSelectorReturn;
|
||||||
|
|
||||||
/// @private
|
|
||||||
_assert_struct_size(MiiSelectorReturn, 0x84);
|
|
||||||
|
|
||||||
#undef _assert_struct_size
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Launch the Mii selector library applet
|
* @brief Launch the Mii selector library applet
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user