From: nobuyoshi nakada Date: 2005-10-05T10:40:48+09:00 Subject: Re: patch.tgz Hi, At Wed, 5 Oct 2005 09:22:53 +0900, Mathieu Bouchard wrote in [ruby-core:06148]: > > I don't think casting function pointers is safe. > > What makes you think so? > > what kind of safety are you trying to achieve? I'd have to say "portability safety (or strictness)." Calling funcion pointer, casting differently from original definition, could prevent a complier from conversions possibly required by implicit casts. Casted result doesn't always equal bitwise re-interpreted result on all platforms. -- Nobu Nakada