stacktrace.h

来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· C头文件 代码 · 共 35 行

H
35
字号
/* * stackTrace.h * * 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 __stacktrace_h#define __stacktrace_h#include "stackTrace-impl.h"struct _methods;/* * A backtrace is modelled as an array of stackTraceInfo structs, * with index 0 being the first function on the stack. It is * terminated by an entry, whose meth field has the special value * ENDOFSTACK. */typedef struct _stackTraceInfo {	uintp   pc;	uintp	fp;	struct _methods* meth;} stackTraceInfo;#define ENDOFSTACK	((struct _methods*)-1)Hjava_lang_Object*	buildStackTrace(struct _exceptionFrame*);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?