freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] External stream


From: Sander van der Wal
Subject: Re: [Freetype] External stream
Date: Mon, 17 Sep 2001 13:57:56 +0200

> Your suggested fix is the same as mine. Note though that the
if-statement is
> needed (i.e. "if (stream->memory==NULL)"), in case an external
stream do
> provide a memory pool.

I have looked at ftstream.h, where FT_Stream is defined: it states
that the memory manager field should not be touched by applications.
Ergo, you cannot have an external memory manager for a FT_Stream only.
Therefore the assignment must be unconditional.

Sander van der Wal







reply via email to

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