?? ilstruct.h
字號:
/* * HT Editor * ilstruct.h * * Copyright (C) 1999-2002 Stefan Weyergraf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef __ILSTRUCT_H_#define __ILSTRUCT_H_#include "io/types.h"#define IL_MAGIC0_0 'B'#define IL_MAGIC0_1 'S'#define IL_MAGIC0_2 'J'#define IL_MAGIC0_3 'B'#define IL_MAGIC1_0 'C'#define IL_MAGIC1_1 'O'#define IL_MAGIC1_2 'M'#define IL_MAGIC1_3 '+'struct IL_METADATA_SECTION { uint32 magic PACKED; uint16 major_version PACKED; uint16 minor_version PACKED; // if (minor_version==1) { // uint32 unkown PACKED; // uint32 version_string_length PACKED; // char version_string[align(version_string_length, 4)]; // } // byte zero1, zero2; // uint16 number_of_entries; };struct IL_METADATA_SECTION_ENTRY { uint32 offset PACKED; uint32 size PACKED; //char name[]; // zero_terminated // align(4) // uint32 ref ?;};extern byte IL_METADATA_SECTION_struct[];extern byte IL_METADATA_SECTION_ENTRY_struct[];#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -