[Mono-devel-list] Prevalence of pointer-integral-pointer	casting in mono?
    Peter Williams 
    peter at newton.cx
       
    Sun Aug  1 23:11:25 EDT 2004
    
    
  
On Sun, 2004-08-01 at 21:23, Jonathan Pryor wrote:
> I'm not sure about Mono, but glib (one of Mono's dependencies) does
> this.  It is generally assumed that a gint can be held in a gpointer.
The GPOINTER_TO_UINT and GUINT_TO_POINTER macros are used to address
this problem. I'm no expert on this issue, but I'm pretty sure GLib
shouldn't have this problem. 
Peter
-- 
Peter Williams                          peter at newton.cx
"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power
    
    
More information about the Mono-devel-list
mailing list