diff options
author | David Turner <david@freetype.org> | 2002-03-22 13:52:37 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-03-22 13:52:37 +0000 |
commit | e459d742e6236df43f542b8c29dfdcf05d69716c (patch) | |
tree | 38339223b6d6426fdc1e0b23aeeb2d4f89c3b367 /src/type1/t1driver.c | |
parent | a890c29cb06f990ac19ada14eae0f9513bb9ed88 (diff) | |
download | freetype2-e459d742e6236df43f542b8c29dfdcf05d69716c.tar.gz |
* include/freetype/internal/ftmemory.h, and a lot of other files !!:
changed the names of memory macros. Examples:
MEM_Set => FT_MEM_SET
MEM_Copy => FT_MEM_COPY
MEM_Move => FT_MEM_MOVE
ALLOC => FT_ALLOC
FREE => FT_FREE
REALLOC = >FT_REALLOC
FT_NEW was introduced to allocate a new object from a _typed_
pointer..
note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
arguments.
This results in _lots_ of sources being changed, but makes the
code more generic and less error-prone..
Diffstat (limited to 'src/type1/t1driver.c')
-rw-r--r-- | src/type1/t1driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type1/t1driver.c b/src/type1/t1driver.c index 118c7d596..bae91042d 100644 --- a/src/type1/t1driver.c +++ b/src/type1/t1driver.c @@ -63,7 +63,7 @@ if (len >= buffer_max) len = buffer_max - 1; - MEM_Copy( buffer, gname, len ); + FT_MEM_COPY( buffer, gname, len ); ((FT_Byte*)buffer)[len] = 0; } |