public SwappedMemoryIO dup() { return new SwappedMemoryIO(runtime, io.dup()); }
public SwappedMemoryIO dup() { return new SwappedMemoryIO(runtime, io.dup()); }
public SwappedMemoryIO dup() { return new SwappedMemoryIO(runtime, io.dup()); }
public SwappedMemoryIO dup() { return new SwappedMemoryIO(runtime, io.dup()); }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Buffer orig = (Buffer) other; this.typeSize = orig.typeSize; this.size = orig.size; this.inout = orig.inout; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Pointer orig = (Pointer) other; this.typeSize = orig.typeSize; this.size = orig.size; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Pointer orig = (Pointer) other; this.typeSize = orig.typeSize; this.size = orig.size; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Buffer orig = (Buffer) other; this.typeSize = orig.typeSize; this.size = orig.size; this.inout = orig.inout; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Pointer orig = (Pointer) other; this.typeSize = orig.typeSize; this.size = orig.size; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Pointer orig = (Pointer) other; this.typeSize = orig.typeSize; this.size = orig.size; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Buffer orig = (Buffer) other; this.typeSize = orig.typeSize; this.size = orig.size; this.inout = orig.inout; setMemoryIO(orig.getMemoryIO().dup()); return this; }
/** * */ @JRubyMethod(required = 1, visibility=PRIVATE) public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) { if (this == other) { return this; } Buffer orig = (Buffer) other; this.typeSize = orig.typeSize; this.size = orig.size; this.inout = orig.inout; setMemoryIO(orig.getMemoryIO().dup()); return this; }