[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]UnManaged Pointers stuff (was: Weekend Warriors)
From: |
Gopal V |
Subject: |
[DotGNU]UnManaged Pointers stuff (was: Weekend Warriors) |
Date: |
Tue, 15 Oct 2002 22:47:07 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Jonathan P Springer wrote:
> See attached patch. It fixes some problems in my last patch and adds
> binary equality and inequality operators for unmanaged pointers.
> IntPtr.cs compiles with it; whether it works remains to be seen. I
> desk-checked the IL output from the compiler, but haven't tried running
> it through the engine at full bore yet.
In CVS .
Cannot run it in the engine , as the engine seems to complain about
verfication , eventhough it has the UnverfiableCode Attribute set ..
Anyway the generated code seems to ok and straight forward ...
> + 2001-10-14 Jonathan Springer <address@hidden>
hmm... I wish *I* could..... (turn back time !)
> + static ILBuiltinType const ILUnmanagedPtr =
> + {ILType_Invalid, /* This is a reference, really */
> + ILMachineType_UnmanagedPtr, 1};
> +
Is it really ILType_Invalid ? .. But it works :-)
But I need a test case for this ...
ildasm of pnet/samples/mscorlib.dll used a conv.u before stfld of void * ,
cscc gives a conv.i , butI think that is a non-issue ? .. (the type is
immaterial right ?)
Gopal
--
The difference between insanity and genius is measured by success
- [DotGNU]DotGNU Weekend Warriors, Peter Minten, 2002/10/12
- Re: [DotGNU]DotGNU Weekend Warriors, Jonathan P Springer, 2002/10/12
- Re: [DotGNU]DotGNU Weekend Warriors, Gopal V, 2002/10/14
- Re: [DotGNU]UnManaged Pointers stuff (was: Weekend Warriors), Rhys Weatherley, 2002/10/15
- Re: [DotGNU]UnManaged Pointers stuff (was: Weekend Warriors), Fergus Henderson, 2002/10/15
- Re: [DotGNU]UnManaged Pointers stuff (was: Weekend Warriors), Rhys Weatherley, 2002/10/15
- Re: [DotGNU]UnManaged Pointers stuff (was: Weekend Warriors), Gopal V, 2002/10/16
- Re: [DotGNU]UnManaged Pointers stuff (was: Weekend Warriors), Fergus Henderson, 2002/10/17
Re: [DotGNU]DotGNU Weekend Warriors, James Michael DuPont, 2002/10/13