[Top][All Lists]

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

[ft-devel] Re: const problems

From: Behdad Esfahbod
Subject: [ft-devel] Re: const problems
Date: Mon, 6 Jun 2005 16:12:31 -0400 (EDT)

On Mon, 6 Jun 2005, Werner LEMBERG wrote:

> I have an idea: Let's introduce a macro `CONST' which is placed into
> the public API header files where a `const' is missing currently.  By
> default, this is defined as
>   #ifndef CONST
>   # define CONST
>   #endif
> for backwards compatibility, probably in ftconfig.h (note that there
> is more than a single version of this file, depending on the platform)
> or in ftoption.h.  As soon as a new major release of FreeType is out,
> those `CONST' are converted to `const'.

Sounds good, but I think the name should be something more
specific, like FT_CONST for the least.

> What do you think?  Kirill, can you implement that?  We would also
> need a small note in the docs/CHANGES file...
>     Werner


reply via email to

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