org.sourceforge.jxutil
Class SCCI
java.lang.Object
|
+--org.sourceforge.jxutil.JNI
|
+--org.sourceforge.jxutil.SCCI
- Direct Known Subclasses:
- ADVAPI32, KERNEL32, LibC
- public class SCCI
- extends JNI
Simple C Call Interface.
Uppercase parameters (I,D,...) are call by value, lowercase are call
by reference.
The codes are I=int, D=double, Y=byte[], T=String(UTF8)
A lowercase return type of y or t means that the string is freed, uppercase
Fields inherited from class org.sourceforge.jxutil.JNI |
loaded |
Constructor Summary |
SCCI()
|
Method Summary |
static double |
call_D_d(int fh,
double arg1)
|
static int |
call_I_i(int fh,
int arg1)
|
static String |
call_I_T(int fh,
int arg1)
|
static int |
call_II_i(int fh,
int arg1,
int arg2)
|
static String |
call_II_T(int fh,
int arg1,
int arg2)
|
static int |
call_III_i(int fh,
int arg1,
int arg2,
int arg3)
|
static byte[] |
call_III_Y(int length,
int fh,
int arg1,
int arg2,
int arg3)
|
static int[] |
call_IIyiiiyi_i(int fh,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5,
int arg6,
byte[] arg7,
int arg8)
|
static int[] |
call_IIyiiyil_i(int fh,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5,
byte[] arg6,
int arg7,
long arg8)
|
static int |
call_IIyyIyI_i(int fh,
int arg1,
int arg2,
byte[] arg3,
byte[] arg4,
int arg5,
byte[] arg6,
int arg7)
|
static int |
call_IT_i(int fh,
int arg1,
String arg2)
|
static int |
call_Iy_i(int fh,
int arg1,
byte[] arg2)
|
static int |
call_IyI_i(int fh,
int arg1,
byte[] arg2,
int arg3)
|
static int[] |
call_IYIIi_i(int fh,
int arg1,
byte[] arg2,
int arg3,
int arg4,
int arg5)
|
static int |
call_T_i(int fh,
String arg1)
|
static int |
call_TT_i(int fh,
String arg1,
String arg2)
|
static int |
call_V_i(int fh)
|
static int |
dlclose(int handle)
|
static int |
dlopen(String filename,
boolean lazy,
boolean global)
|
static int |
dlsym(int handle,
String symbol)
|
static int |
makeCallbackS(Class obj,
String name,
String sig)
|
static int |
makeCallbackV(Object obj,
String name,
String sig)
|
static void |
testHandler(int fh,
int arg1)
|
static byte[] |
toByteArray(int arg1,
int length)
|
static String |
toUTF8String(int arg1)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCCI
public SCCI()
call_D_d
public static double call_D_d(int fh,
double arg1)
call_I_i
public static int call_I_i(int fh,
int arg1)
call_I_T
public static String call_I_T(int fh,
int arg1)
call_II_i
public static int call_II_i(int fh,
int arg1,
int arg2)
call_II_T
public static String call_II_T(int fh,
int arg1,
int arg2)
call_III_i
public static int call_III_i(int fh,
int arg1,
int arg2,
int arg3)
call_III_Y
public static byte[] call_III_Y(int length,
int fh,
int arg1,
int arg2,
int arg3)
call_IIyiiiyi_i
public static int[] call_IIyiiiyi_i(int fh,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5,
int arg6,
byte[] arg7,
int arg8)
call_IIyiiyil_i
public static int[] call_IIyiiyil_i(int fh,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5,
byte[] arg6,
int arg7,
long arg8)
call_IIyyIyI_i
public static int call_IIyyIyI_i(int fh,
int arg1,
int arg2,
byte[] arg3,
byte[] arg4,
int arg5,
byte[] arg6,
int arg7)
call_IT_i
public static int call_IT_i(int fh,
int arg1,
String arg2)
call_Iy_i
public static int call_Iy_i(int fh,
int arg1,
byte[] arg2)
call_IyI_i
public static int call_IyI_i(int fh,
int arg1,
byte[] arg2,
int arg3)
call_IYIIi_i
public static int[] call_IYIIi_i(int fh,
int arg1,
byte[] arg2,
int arg3,
int arg4,
int arg5)
call_T_i
public static int call_T_i(int fh,
String arg1)
call_TT_i
public static int call_TT_i(int fh,
String arg1,
String arg2)
call_V_i
public static int call_V_i(int fh)
dlclose
public static int dlclose(int handle)
dlopen
public static int dlopen(String filename,
boolean lazy,
boolean global)
throws UnsatisfiedLinkError
UnsatisfiedLinkError
dlsym
public static int dlsym(int handle,
String symbol)
makeCallbackS
public static int makeCallbackS(Class obj,
String name,
String sig)
makeCallbackV
public static int makeCallbackV(Object obj,
String name,
String sig)
testHandler
public static void testHandler(int fh,
int arg1)
toByteArray
public static byte[] toByteArray(int arg1,
int length)
toUTF8String
public static String toUTF8String(int arg1)
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.