code.h
来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· C头文件 代码 · 共 50 行
H
50 行
/* code.h * Define a code module. * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#ifndef __code_h#define __code_h#include "gtypes.h"union _attribute_info;struct _jexception;typedef struct _Code { u2 max_stack; u2 max_locals; u4 code_length; u1* code; u2 attribute_count; struct _jexception* exception_table; union _attribute_info* attributes;} Code;typedef struct _lineNumberEntry { uint16 line_nr; uintp start_pc;} lineNumberEntry;typedef struct _lineNumbers { uint32 length; lineNumberEntry entry[1];} lineNumbers;struct _methods;struct classFile;bool addCode(struct _methods*, uint32, struct classFile*, errorInfo *info);bool addLineNumbers(struct _methods*, uint32, struct classFile*, errorInfo *info);bool addCheckedExceptions(struct _methods*, uint32, struct classFile*, errorInfo *info);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?