|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object posix.CPtr posix.Malloc
public class Malloc
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 |
---|
public Malloc(int size)
Method Detail |
---|
protected void finalize()
finalize
in class Object
public void free()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |