Ejemplo n.º 1
0
 protected Pointer getPointer(Ruby runtime, long offset) {
   DirectMemoryIO ptr = (DirectMemoryIO) getMemoryIO().getMemoryIO(offset);
   return new BasePointer(runtime, ptr != null && !ptr.isNull() ? ptr : new NullMemoryIO(runtime));
 }