} else if (type instanceof org.jruby.ext.ffi.StructByValue) {
return new StructByValueMarshaller((org.jruby.ext.ffi.StructByValue) type);
} else if (type instanceof org.jruby.ext.ffi.MappedType) {
MappedType ctype = (MappedType) type;
return new ConvertingMarshaller(
getMarshaller(ctype.getRealType(), convention, enums),
DataConverters.getParameterConverter(type,
enums instanceof RubyHash ? (RubyHash) enums : null));
} else {
return null;