2004-05-28 Vladimir Vukicevic <vladimir@pobox.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 28 May 2004 18:30:22 +0000 (18:30 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 28 May 2004 18:30:22 +0000 (18:30 -0000)
commitd9ac812f0e0ff3224a09f74852b27dfc0f815857
tree6a5e8215ac347bb764eba7ed641e925feb9fcc65
parentccf4e0f3ad38270a2b31ec5df9569bcc8c1ca2b4
2004-05-28  Vladimir Vukicevic  <vladimir@pobox.com>

* marshal.c (emit_struct_conv): increment src/dst after blit
(mono_marshal_get_managed_wrapper,
mono_marshal_get_native_wrapper): make sure we have marshalling
info before marshalling params (info computation affects
blittable)

* class.c (class_compute_field_layout): correctly deal with
blittable
(mono_class_layout_fields): Don't do gc_aware_layout for AUTO
value types (as per what windows dows by default)
(mono_class_setup_mono_type): System.ValueType is blittable
(mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are
blittable

* marshal.c (mono_marshal_load_type_info): flag types  as
non-blittable if the native layout doesn't match the managed
layout

svn path=/trunk/mono/; revision=28375
mono/metadata/ChangeLog
mono/metadata/class.c
mono/metadata/marshal.c