Ver1.3 && alignment size could be set by argument
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef __CONFIG_HPP__
|
||||
#define __CONFIG_HPP__
|
||||
|
||||
#define ADDR_ALIGNMENT_SIZE 4 // 地址对齐方式
|
||||
#define DEFAULT_ADDR_ALIGNMENT_SIZE 4 // 默认地址对齐长度
|
||||
|
||||
#define VARIABLE_NAME_STR_LENGTH_MAX 100 // 名称字符串最大长度
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@ extern "C"
|
||||
#include "stdio.h"
|
||||
}
|
||||
|
||||
// 地址对齐长度
|
||||
extern size_t addr_alignment_size;
|
||||
|
||||
// 类型列表
|
||||
extern type_node *type_list_head;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user