public IRubyObject fromNative(ThreadContext context, IRubyObject obj) { return converter.fromNative(context, obj); }
public NativeType nativeType() { return converter.getRealType().getNativeType(); }
public MappedDataConverter(MappedType converter) { super(converter.isReferenceRequired(), converter.isPostInvokeRequired()); this.converter = converter; }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { return converter.toNative(context, obj); } }
return mappedType.fromNative(runtime.getCurrentContext(), fromNative(runtime, mappedType.getRealType(), buffer, index));
setReturnValue(runtime, mappedType.getRealType(), buffer, mappedType.toNative(runtime.getCurrentContext(), value));
public final boolean isValueReferenceNeeded() { return nativeFieldIO.isValueReferenceNeeded() || mappedType.isReferenceRequired(); }
return new MappedType(context.runtime, (RubyClass) klass, nativeType, converter, isReferenceRequired);
MappedType.createConverterTypeClass(runtime, ffi);
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { return converter.toNative(context, obj); } }
return mappedType.fromNative(runtime.getCurrentContext(), fromNative(runtime, mappedType.getRealType(), buffer, index));
setReturnValue(runtime, mappedType.getRealType(), buffer, mappedType.toNative(runtime.getCurrentContext(), value));
public final boolean isValueReferenceNeeded() { return nativeFieldIO.isValueReferenceNeeded() || mappedType.isReferenceRequired(); }
return new MappedType(context.runtime, (RubyClass) klass, nativeType, converter, isReferenceRequired);
MappedType.createConverterTypeClass(runtime, ffi);
public NativeType nativeType() { return converter.getRealType().getNativeType(); }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { return converter.toNative(context, obj); } }
public IRubyObject fromNative(ThreadContext context, IRubyObject obj) { return converter.fromNative(context, obj); }
public MappedDataConverter(MappedType converter) { super(converter.isReferenceRequired(), converter.isPostInvokeRequired()); this.converter = converter; }
return mappedType.fromNative(runtime.getCurrentContext(), fromNative(runtime, mappedType.getRealType(), buffer, index));