[Pyrex] Re: Using Pyrex to wrap Freetype

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Apr 29 05:27:42 CEST 2003


jkoshy at FreeBSD.ORG (Joseph Koshy) writes:

> As of v2, the freetype folks recommend the following header inclusion
> scheme when using their library in applications:
> 
>   #include <ft2build.h>
>   #include FT_FREETYPE_H
> 
> Here FT_FREETYPE_H is a macro that expands to the correct installation
> path on the system.

Yeek! I didn't even know you could *do* that!

> How can I express this in Pyrex?

I suggest you make a small header file of your own that
contains the above incantation, and reference that from
your Pyrex file.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list