public boolean requiresPostInvoke() {
return false;
}
private static final void addBufferParameter(InvocationBuffer buffer, IRubyObject parameter, int flags) {
ArrayMemoryIO memory = (ArrayMemoryIO) ((Buffer) parameter).getMemoryIO();
buffer.putArray(memory.array(), memory.arrayOffset(), memory.arrayLength(),
flags & bufferFlags((Buffer) parameter));
}
private static final long getAddress(Pointer ptr) {
return ((DirectMemoryIO) ptr.getMemoryIO()).getAddress();
}