diff options
author | Miguel de Icaza <miguel@gnome.org> | 2007-02-11 06:40:33 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2007-02-11 06:40:33 +0300 |
commit | d59ce8f0fb3b250456a395a92e896782999e9c29 (patch) | |
tree | 694e8c9804030e1c73948f52f479c5729aa7b915 /mcs/class/Novell.Directory.Ldap | |
parent | 8d3933986a62575406985ffa5daac71c7abcc1f1 (diff) |
Add support for HandleRef to the Marshaller
2007-02-10 Miguel de Icaza <miguel@novell.com>
* class-internals.h: Add MonoHandleRef definition, and
handleref_class to mono_defaults.
* metadata.c (mono_type_to_unmanaged): If we find HandleRefs in a
structure, use new conversion MONO_MARSHAL_CONV_HANDLEREF.
* marshal.c (emit_ptr_to_object_conv): Add support for HandleRefs
(do nothing on this stage)
(emit_object_to_ptr_conv): Extract the handle from the HandleRef.
(emit_marshal_handleref): New method, used for argument handling
of HandleRefs.
Tests are a simplified version of SafeHandle tests
Fixes: 80515
svn path=/trunk/mono/; revision=72601
Diffstat (limited to 'mcs/class/Novell.Directory.Ldap')
0 files changed, 0 insertions, 0 deletions