Alchemy
Loading...
Searching...
No Matches

node_chain.h

Go to the documentation of this file.
1#ifndef ALCHEMY_NODE_CHAIN_H
2#define ALCHEMY_NODE_CHAIN_H
3
4/// @file
5/// NodeChain, a chain of menu nodes.
6
7#include "edition.h"
8#include "types.h"
9#include "static_assert.h"
10
14};
15
21};
22
23STATIC_ASSERT(sizeof(struct NodeChainNode) == 8);
24STATIC_ASSERT(offsetof(struct NodeChainState, node) == 0x348);
25STATIC_ASSERT(offsetof(struct NodeChainState, count) == 0x39e);
26
27#endif
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
Definition stddef.h:19
struct NodeChainNode * next
Definition node_chain.h:13
u8 padding00[4]
Definition node_chain.h:12
u8 padding34c[82]
Definition node_chain.h:19
struct NodeChainNode * node
Definition node_chain.h:18
u8 padding000[840]
Definition node_chain.h:17
The integer types, TRUE, UNUSED and the fixed-address macros.
unsigned short u16
Definition types.h:13
unsigned char u8
Definition types.h:11