external.h

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

H
40
字号
/* * external.h * Handle method calls to other languages. * * 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 __external_h#define __external_h#include "java_lang_ClassLoader.h"#include "gtypes.h"#define	MAXSTUBLEN	1024#define	MAXLIBPATH	1024#define	MAXLIBS		16/* Default library info. */#if !defined(LIBRARYPATH)#define	LIBRARYPATH	"KAFFELIBRARYPATH"#endif#define	NATIVELIBRARY	"libkaffevm"struct _jmethodID;struct _errorInfo;void	initNative(void);int	loadNativeLibrary(const char*, struct Hjava_lang_ClassLoader*, char*, size_t);void	unloadNativeLibraries(struct Hjava_lang_ClassLoader*);void*	loadNativeLibrarySym(const char*);nativecode*	native(struct _jmethodID*, struct _errorInfo*);void	addNativeFunc(char*, void*);char*	getLibraryPath(void);#endif

⌨️ 快捷键说明

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