On Mon, 2013-01-14 at 07:45 -0500, Matthew Barnes wrote:
> On Mon, 2013-01-14 at 10:24 +0100, Milan Crha wrote:
> > I noticed some time ago that the code is "full" of redundant type casts,
> > but I do not understand what it is good for.
>
> For better readability, in cases where the type definiti
On Mon, 2013-01-14 at 10:24 +0100, Milan Crha wrote:
> I noticed some time ago that the code is "full" of redundant type casts,
> but I do not understand what it is good for.
For better readability, in cases where the type definition also hints at
what the callback does.
_
Hi,
I noticed some time ago that the code is "full" of redundant type casts,
but I do not understand what it is good for. If there is used a function
with correct prototype, then why to cast it? I see one disadvantage of
these redundant casts, if API will change for whatever reason, then we