freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Debugging Memory Manager added to FreeType sources


From: Tom Kacvinsky
Subject: Re: [Devel] Debugging Memory Manager added to FreeType sources
Date: Mon, 22 Oct 2001 15:56:08 -0400 (EDT)

I did all that you specified below, and no joy.  I will try to see if I can
track down what is happening.

Tom

On Mon, 22 Oct 2001, David Turner wrote:

> Hi Tom,
>
> Tom Kacvinsky a écrit :
> >
> > Looking through the code, I do not see how an environment variable is used 
> > to
> > turn on on the debugging memory functions.  I do have
> >
> >    #define FT_DEBUG_MEMORY
> >
> > in ftoption.h, but this doesn't seem to do the trick.
> >
>
> Humm, you need to do two things:
>
>   - define FT_DEBUG_MEMORY in "ftoption.h"
>
>   - before running your program, define an _environment_ variable
>     named "FT_DEBUG_MEMORY", like, on Unix:
>
>        export FT_DEBUG_MEMORY=1
>
>     or, on Windows
>
>        set FT_DEBUG_MEMORY=1
>
>
>   the FT_DEBUG_MEMORY _macro_ only controls the compilation of the
>   memory debugging code, but it is only used when the _environment_
>   variable is defined at run-time..
>
>   Maybe re-naming the FT_DEBUG_MEMORY macro to FT_CONFIG_OPTION_DEBUG_MEMORY
>   will make things clearer :-)
>
>
> Regards,
>
> - David
>
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
>




reply via email to

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