Document current node sizes on 64bit

parent 9baba027
......@@ -183,7 +183,7 @@ enum n_alloc {
NA_MPL
} __attribute__ ((__packed__));
struct node {
struct node { // 128b
unsigned magic;
#define NODE_MAGIC 0xe31edef3
enum n_type type;
......@@ -195,11 +195,11 @@ struct node {
struct node *parent;
union {
struct node_nexus nexus; // T_NEXUS
struct node_data data; // T_DATA
struct node_subreq subreq; // T_SUBREQ
struct node_final final; // T_FINAL
struct node_crc crc; // T_CRC
struct node_nexus nexus; // T_NEXUS 80b
struct node_data data; // T_DATA 32b
struct node_subreq subreq; // T_SUBREQ 88b
struct node_final final; // T_FINAL 96b
struct node_crc crc; // T_CRC 16b
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment