[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]DotGNU Weekend Warriors
From: |
Jonathan P Springer |
Subject: |
Re: [DotGNU]DotGNU Weekend Warriors |
Date: |
Mon, 14 Oct 2002 18:14:50 -0400 |
User-agent: |
Mutt/1.4i |
On Mon, Oct 14, 2002 at 06:23:49PM +0530, Gopal V wrote:
> If memory serves me right, Jonathan P Springer wrote:
> > Attached (and I'll post it as well) is a small patch to
> > codegen/cg_coerce.c that allows casting between unmanaged pointers and
> > basic integer types in unsafe code blocks. The spec said it was
> > possible, the compiler complained, I started mucking, and so...
>
> Great , it's in the CVS !... With the addendum
>
> /* TODO : Handle the rest of the cases */
>
> IntPtr.cs almost compiles ...
>
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.
-js
--
-Jonathan P Springer <address@hidden>
------------------------------------------------------------------------------
"A standard is an arbitrary solution to a recurring problem." - Joe Hazen
springjp-021014.patch
Description: Text document
- [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