external.h
来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· C头文件 代码 · 共 38 行
H
38 行
/* * 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#define MAXSTUBLEN 1024#define MAXLIBPATH 1024#define MAXLIBS 16/* Default library info. */#if !defined(LIBRARYPATH)#define LIBRARYPATH "KAFFELIBRARYPATH"#endif#define NATIVELIBRARY "libnative"struct _methods;struct _errorInfo;void initNative(void);int loadNativeLibrary(char*, char*, size_t);int loadNativeLibrary2(char*, int, char*, size_t);void unloadNativeLibrary(int);void* loadNativeLibrarySym(char*);bool native(struct _methods*, struct _errorInfo*);void addNativeFunc(char*, void*);char* getLibraryPath(void);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?