|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MemoryBlock
$Id: MemoryBlock.java,v 1.4 2006/06/09 20:44:04 mdenty Exp $
This interface represents a block of native memory
This software is released under the LGPL.
| Method Summary | |
|---|---|
void |
dispose()
Method dispose provides a way to free the memory |
java.lang.Integer |
getPointer()
Method getPointer |
int |
getSize()
Method getSize |
int |
reserveMemory(int size)
Method reserveMemory allocate a block of native memory |
| Method Detail |
|---|
java.lang.Integer getPointer()
throws java.lang.NullPointerException
java.lang.NullPointerException - if the pointer is null
int getSize()
throws java.lang.NullPointerException
java.lang.NullPointerException - if the pointer is null
int reserveMemory(int size)
throws NativeException
size - in bytes of the block
NativeException
void dispose()
throws NativeException
NativeException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||