[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uninitalized Face data
From: |
Bertrand Petit |
Subject: |
Re: Uninitalized Face data |
Date: |
Thu, 24 Feb 2000 11:32:14 +0100 |
On Thu, Feb 24, 2000 at 10:10:50AM +0100, Antoine Leca wrote:
> > The reason is that freetype arranges TT_instance like:
> >
> > struct TT_Instance_ { void* z; };
> > typedef struct TT_Instance_ TT_Instance;
>
> Well, you did cheat by looking at the sources without:
> - reading the doc (and in particular docs/apiref.txt)
> - reading the comments that are just above the part you copied.
This schema would be easier to understand if struct
TT_Instance_ was called _TT_Instance. The location of the underscore
is important as it's semantic is documented: underscored symbols and
type names are private and shall never be directly referenced by
library users (K&R, ANSI C).
--
Toujours pas de ~/.signature
- Uninitalized Face data, Arnar Mar Hrafnkelsson, 2000/02/23
- Re: Uninitalized Face data, Antoine Leca, 2000/02/24
- Re: Uninitalized Face data, Arnar Mar Hrafnkelsson, 2000/02/24
- Re: Uninitalized Face data,
Bertrand Petit <=
- Re: Uninitalized Face data, Just van Rossum, 2000/02/24
- Re: Uninitalized Face data, Antoine Leca, 2000/02/24
- Re: Uninitalized Face data, Werner LEMBERG, 2000/02/24
- Re: Uninitalized Face data, Just van Rossum, 2000/02/24
- Re: Uninitalized Face data, Stefan Seefeld, 2000/02/24
- Re: Uninitalized Face data, Antoine Leca, 2000/02/25
- Re: Uninitalized Face data, David Turner, 2000/02/25
Re: Uninitalized Face data, Pavel Kankovsky, 2000/02/24
Re: Uninitalized Face data, Antoine Leca, 2000/02/24