nioserversocket.c

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

C
26
字号
/* * NIOServerSocket.c * * Copyright (c) 2003 Kaffe's team. * * See the file "license.terms" for information on usage and redistribution * of this file. */#include "config.h"#include "native.h"/* Classpath uses the same name for different variables in the inheritancy * tree. Kaffeh treats them straightly and it confuses the compiler. * As it is not important here, I just declare the class manually. */struct Hgnu_java_net_PlainSocketImpl;struct Hgnu_java_nio_NIOServerSocket;struct Hgnu_java_net_PlainSocketImpl*gnu_java_nio_NIOServerSocket_getPlainSocketImpl(struct Hgnu_java_nio_NIOServerSocket* this){  return (struct Hgnu_java_net_PlainSocketImpl *)    do_execute_java_method(this, "getImpl", "()Ljava/net/SocketImpl;", 0, 0).l;}

⌨️ 快捷键说明

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