stacktrace.h

来自「基于LWVCL开发的库」· C头文件 代码 · 共 36 行

H
36
字号
/* * 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 _jmethodID;/* * 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 _jmethodID* meth;} stackTraceInfo;#define ENDOFSTACK	((struct _jmethodID*)-1)Hjava_lang_Object*	buildStackTrace(struct _exceptionFrame*);void			printStackTrace(struct Hjava_lang_Throwable*, struct Hjava_lang_Object*, int);#endif

⌨️ 快捷键说明

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