freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Pr


From: Werner LEMBERG
Subject: Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Property_Set' to set the hooks. One less API function.
Date: Wed, 21 Aug 2019 06:20:17 +0200 (CEST)

>> Having a structure certainly reduces possible coding errors, but in
>> the end there is still a cast from one type to another, something
>> that disables type checking on the compiler level.
> 
> The hooks are static, aren't they?  Otherwise, how do you plan to
> document them?

Not sure what you mean with `static'.

> Therefore, what's wrong with hiding them behind a text string?

And this I don't understand at all :-)  Please explain.


    Werner



reply via email to

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