posix
Class Malloc

java.lang.Object
  extended by posix.CPtr
      extended by posix.Malloc

public class Malloc
extends CPtr

Make C memory allocated with the malloc posix call available to Java.


Nested Class Summary
 
Nested classes/interfaces inherited from class posix.CPtr
CPtr.Struct
 
Field Summary
 
Fields inherited from class posix.CPtr
CBYTE_TYPE, CDBL_TYPE, CFLT_TYPE, CINT_TYPE, CLONG_TYPE, CPTR_TYPE, CSHORT_TYPE
 
Constructor Summary
Malloc(int size)
           
 
Method Summary
protected  void finalize()
           
 void free()
           
 
Methods inherited from class posix.CPtr
alignOf, copyIn, copyOut, getByte, getCInt, getCInt, getCShort, getCShort, getInt, getShort, setByte, setCInt, setCInt, setCShort, setCShort, setInt, setShort, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Malloc

public Malloc(int size)
Method Detail

finalize

protected void finalize()
Overrides:
finalize in class Object

free

public void free()