C D E F G H I L N O P S T U

C

CDECL - Static variable in class org.cinvoke.CInvoke.CC
The cdecl calling convention is the most common convention on x86.
CInvoke - class org.cinvoke.CInvoke.
Provides interfaces and related utility methods for calling C libraries.
CInvoke() - Constructor for class org.cinvoke.CInvoke
 
CInvoke.CC - class org.cinvoke.CInvoke.CC.
An enumeration of values representing different calling conventions.
CInvoke.CC() - Constructor for class org.cinvoke.CInvoke.CC
 
CInvoke.ENC - class org.cinvoke.CInvoke.ENC.
An enumeration which determines the encoding to use when marshalling strings.
CInvoke.ENC() - Constructor for class org.cinvoke.CInvoke.ENC
 
CInvokeError - error org.cinvoke.CInvokeError.
Thrown when an error occurs in the C/Invoke Java binding.
CInvokeError(String) - Constructor for class org.cinvoke.CInvokeError
Initializes a CInvokeError object.

D

DEFAULT - Static variable in class org.cinvoke.CInvoke.CC
The default calling convention on the current platform.

E

equals(Object) - Method in class org.cinvoke.NativeInt
 
equals(Object) - Method in class org.cinvoke.NativeLong
 
equals(Object) - Method in class org.cinvoke.NativeLongLong
 
equals(Object) - Method in class org.cinvoke.NativeShort
 
equals(Object) - Method in class org.cinvoke.Ptr
 

F

FASTCALL - Static variable in class org.cinvoke.CInvoke.CC
The fastcall convention is rarely used under Microsoft Windows.

G

getSize(Class) - Static method in class org.cinvoke.CInvoke
Utility method which returns the number of bytes required to hold an instance of the given marshalable type.
getSize(Object) - Static method in class org.cinvoke.CInvoke
Utility method which returns the number of bytes required to hold the given marshalable value.

H

hashCode() - Method in class org.cinvoke.NativeInt
 
hashCode() - Method in class org.cinvoke.NativeLong
 
hashCode() - Method in class org.cinvoke.NativeLongLong
 
hashCode() - Method in class org.cinvoke.NativeShort
 
hashCode() - Method in class org.cinvoke.Ptr
 

I

intValue() - Method in class org.cinvoke.NativeShort
Returns a marshaled value.

L

load(String, Class) - Static method in class org.cinvoke.CInvoke
Loads a native C library and attaches it to the given Java interface.
load(String, Class, int) - Static method in class org.cinvoke.CInvoke
Loads a native C library and attaches it to the given Java interface.
load(String, Class, int, int) - Static method in class org.cinvoke.CInvoke
Loads a native C library and attaches it to the given Java interface.
longValue() - Method in class org.cinvoke.NativeInt
Returns a marshaled value.
longValue() - Method in class org.cinvoke.NativeLong
Returns a marshaled value.
longValue() - Method in class org.cinvoke.NativeLongLong
Returns a marshaled value.
longValue() - Method in class org.cinvoke.Ptr
Returns a marshaled value.

N

NativeInt - class org.cinvoke.NativeInt.
Used to send or read values of the C type 'int'.
NativeInt(long) - Constructor for class org.cinvoke.NativeInt
Initializes a NativeInt instance.
NativeLong - class org.cinvoke.NativeLong.
Used to send or read values of the C type 'long'.
NativeLong(long) - Constructor for class org.cinvoke.NativeLong
Initializes a NativeLong instance.
NativeLongLong - class org.cinvoke.NativeLongLong.
Used to send or read values of the C type 'long long', if it is available.
NativeLongLong(long) - Constructor for class org.cinvoke.NativeLongLong
Initializes a NativeLongLong instance.
NativeShort - class org.cinvoke.NativeShort.
Used to send or read values of the C type 'short'.
NativeShort(int) - Constructor for class org.cinvoke.NativeShort
Initializes a NativeShort instance.

O

org.cinvoke - package org.cinvoke
 

P

Ptr - class org.cinvoke.Ptr.
Used to send or read values the size of a C pointer type.
Ptr(long) - Constructor for class org.cinvoke.Ptr
Initializes a Ptr instance.
ptrToArray(Ptr, Class, int) - Static method in class org.cinvoke.CInvoke
Converts a pointer to a native array to a Java array value.
ptrToString(Ptr, int, int) - Static method in class org.cinvoke.CInvoke
Converts a pointer to an unmanaged buffer to a Java string value.

S

STDCALL - Static variable in class org.cinvoke.CInvoke.CC
The stdcall convention is used by the Microsoft Windows API.

T

toString() - Method in class org.cinvoke.NativeInt
 
toString() - Method in class org.cinvoke.NativeLong
 
toString() - Method in class org.cinvoke.NativeLongLong
 
toString() - Method in class org.cinvoke.NativeShort
 

U

UNICODE - Static variable in class org.cinvoke.CInvoke.ENC
Marshal strings as two-byte Unicode values.
UTF8 - Static variable in class org.cinvoke.CInvoke.ENC
Marshal strings using the Java UTF-8 variant.

C D E F G H I L N O P S T U