Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS
C E F G H M N S

C

CFunc class CFunc.
An abstraction for a C function pointer.
CFunc(String, String, String). Constructor for class CFunc
Create a new CFunc that is linked with a C function that follows a given calling convention.
CFunc(String, String). Constructor for class CFunc
Create a new CFunc that is linked with a C function that follows the standard "C" calling convention.
CMalloc class CMalloc.
A CPtr to memory obtained from the C heap via a call to malloc.
CMalloc(int). Constructor for class CMalloc
Allocate space in the C heap via a call to C's malloc.
CPtr class CPtr.
An abstraction for a C pointer data type.
callCPtr(Object[]). Method in class CFunc
Call the C function being represented by this object.
callDouble(Object[]). Method in class CFunc
Call the C function being represented by this object.
callFloat(Object[]). Method in class CFunc
Call the C function being represented by this object.
callInt(Object[]). Method in class CFunc
Call the C function being represented by this object.
callVoid(Object[]). Method in class CFunc
Call the C function being represented by this object.
copyIn(int, byte[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, short[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, char[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, int[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, long[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, float[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, double[], int, int). Method in class CPtr
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, byte[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, short[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, char[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, int[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, long[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, float[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyIn(int, double[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyIn.
copyOut(int, byte[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, short[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, char[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, int[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, long[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, float[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, double[], int, int). Method in class CPtr
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, byte[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, short[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, char[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, int[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, long[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, float[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.
copyOut(int, double[], int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.copyOut.

E

equals(Object). Method in class CPtr
Compares this CPtr to the specified object.

F

free(). Method in class CMalloc
De-allocate space obtained via an earlier call to malloc.

G

getByte(int). Method in class CPtr
Indirect the C pointer as a pointer to byte.
getByte(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getByte.
getCPtr(int). Method in class CPtr
Indirect the C pointer as a pointer to pointer.
getCPtr(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getCPtr.
getDouble(int). Method in class CPtr
Indirect the C pointer as a pointer to double.
getDouble(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getDouble.
getFloat(int). Method in class CPtr
Indirect the C pointer as a pointer to float.
getFloat(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getFloat.
getInt(int). Method in class CPtr
Indirect the C pointer as a pointer to int.
getInt(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getInt.
getLong(int). Method in class CPtr
Indirect the C pointer as a pointer to long.
getLong(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getLong.
getShort(int). Method in class CPtr
Indirect the C pointer as a pointer to short.
getShort(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getShort.
getString(int). Method in class CPtr
Indirect the C pointer as a pointer to char *, a NULL-terminated C string.
getString(int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.getString.

H

hashCode(). Method in class CPtr
Returns a hashcode for the C pointer represented by this Cptr object.

M

Main class Main.
Provides a main() method for running the shared stubs example.
Main(). Constructor for class Main
main(String[]). Static method in class Main
Demonstrates calling printf, scanf, etc from the C library using shared stubs.

N

NULL. Static variable in class CPtr
A canonical representation of C's NULL pointer.

S

SIZE. Static variable in class CPtr
The size of a C pointer on the platform this Java virtual machine is running on.
setByte(int, byte). Method in class CPtr
Set value at location being pointed to.
setByte(int, byte). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setByte.
setCPtr(int, CPtr). Method in class CPtr
Set value at location being pointed to.
setCPtr(int, CPtr). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setCPtr.
setDouble(int, double). Method in class CPtr
Set value at location being pointed to.
setDouble(int, double). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setDouble.
setFloat(int, float). Method in class CPtr
Set value at location being pointed to.
setFloat(int, float). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setFloat.
setInt(int, int). Method in class CPtr
Set value at location being pointed to.
setInt(int, int). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setInt.
setLong(int, long). Method in class CPtr
Set value at location being pointed to.
setLong(int, long). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setLong.
setShort(int, short). Method in class CPtr
Set value at location being pointed to.
setShort(int, short). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setShort.
setString(int, String). Method in class CPtr
Copy string value to the location being pointed to.
setString(int, String). Method in class CMalloc
Indirect the C pointer to malloc space, a la CPtr.setString.

C E F G H M N S
Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS