diff options
author | Sven Gothel <[email protected]> | 2013-04-29 19:33:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-29 19:33:55 +0200 |
commit | 6dd403b5b460e58a4b1cb3ed3e522355f50901b7 (patch) | |
tree | 08bd40c7293bd213c6f5d61aa8b928cc45420ca8 /src/java/com/jogamp/gluegen/CodeGenUtils.java | |
parent | 35e932c32dad33693caa249a8139708412e8d798 (diff) |
Buffers: getRemainingBytes(Object) -> remainingBytes(Object); sizeOfBufferElem(Buffer) -> sizeOfBufferElem(Object) to include NativeBuffer<?>
Misc:
- Add remainingElem(Object buffer).
- Removed 'sizeOfBufferType(Class<?> bufferType)', since we don't use such calling convention w/ class type
Note: remainingBytes(..) exist to allow using only one branch traversal to return the remaining size in bytes
instead of 2, remaining(obj) and sizeOfBufferElem(obj).
Note: The methods can take NativeBuffer<?> as an argument.
Diffstat (limited to 'src/java/com/jogamp/gluegen/CodeGenUtils.java')
0 files changed, 0 insertions, 0 deletions