Re: Dodgy function pointer casts

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2007-04-25, Ben Hutchings <ben-/[email protected]> wrote:
> Is this change likely to be acceptable, Tuomo?

Umm... any kind of OO shit in C absolutely positively depends on
function pointer casts. Or are you going to wrap all the _hundreds_
of pseudo-dynamic functions? Over my dead body.

More uglier is the case of function pointers to data pointers used
somewhere in the code. I haven't checked if there's a way around it,
but then again, any sane architechture will have matching function 
and data pointers. (Functions should be nothing special! They should
be data like everything else! Stuff of the first class!)

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.