freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] bug fix: pointers in FT_Open_Args should be const


From: Antoine Leca
Subject: Re: [ft-devel] bug fix: pointers in FT_Open_Args should be const
Date: Tue, 30 Jan 2007 14:33:40 +0100

Graham Asher wrote:
> Casting from non-const to const is always legal, I believe, so I
> don't see how this can break compatibility.

It is a struct, not a function prototype.

So if your (= client) code manipulates such things, perhaps storing them,
committing the change may make the code now stores a not-const-decorated
pointer (from earlier API) to a const*... Definitively something compilers
do not like!


Antoine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]