diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2018-09-27 21:17:36 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2018-09-27 21:17:36 -0400 |
commit | 877aa1b2cc662978aae61ed4d5c6ea8ba56b2fe7 (patch) | |
tree | 3d1bf0eb5e56b6d205134ed5fc9717a3a0ab12ee /ChangeLog | |
parent | 4500c701c29f154eb0acd44552590d0dc315ac5f (diff) | |
download | freetype2-877aa1b2cc662978aae61ed4d5c6ea8ba56b2fe7.tar.gz |
Align FreeType with standard C memory management.
* include/freetype/ftsystem.h: Include FT_TYPES_H.
(*FT_Alloc_Func, *FT_Realloc_Func): Use size_t for the size arguments.
* src/raster/ftmisc.h: Ditto.
* builds/amiga/src/base/ftsystem.c, builds/unix/ftsystem.c,
* builds/vms/ftsystem.c, src/base/ftsystem.c (ft_alloc, ft_realloc):
Use size_t for the size arguments.
* src/base/ftdbgmem.c (ft_mem_debug_alloc, ft_mem_debug_realloc): Use
FT_Offset, aka size_t, for the size arguments.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,3 +1,18 @@ +2018-09-27 Alexei Podtelezhnikov <apodtele@gmail.com> + + Align FreeType with standard C memory management. + + * include/freetype/ftsystem.h: Include FT_TYPES_H. + (*FT_Alloc_Func, *FT_Realloc_Func): Use size_t for the size arguments. + * src/raster/ftmisc.h: Ditto. + + * builds/amiga/src/base/ftsystem.c, builds/unix/ftsystem.c, + * builds/vms/ftsystem.c, src/base/ftsystem.c (ft_alloc, ft_realloc): + Use size_t for the size arguments. + + * src/base/ftdbgmem.c (ft_mem_debug_alloc, ft_mem_debug_realloc): Use + FT_Offset, aka size_t, for the size arguments. + 2018-09-25 Werner Lemberg <wl@gnu.org> Fix handling of `FT_Bool'. @@ -39,7 +54,7 @@ * src/base/ftobjs.c (ft_glyphslot_preset_bimap): Another tweak. This one should be clearer. When the rounded monochrome bbox collapses - we add a pixel that covers most if not all original cbox. + we add a pixel that covers most if not all original cbox. 2018-09-21 Alexei Podtelezhnikov <apodtele@gmail.com> |