This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Jim's wish list: gd library interface


Todd Larason <jtl@molehill.org> writes:

> On 981025, Mikael Djurfeldt wrote:
> > Marius ported fps a while ago:
> > 
> > /ftp.red-bean.com:/pub/guile/contrib/hacks/guile-fps-961222.tar.gz
> 
> D'oh!  Someone who actually understands this stuff might want to look at
> this, and my changes, and see which make more sense.
> 
> The only real change in Marius' version was converting all the ':keyword's
> into '.:keyword's.  He also fixed a bug or two that I'll pull over if there's
> any reason to keep the new version.  
> 
> He didn't create any new way of loading fps; is/was there support for
> define-interface somewhere?

I put PFS into its own Guile module (fps).  You can load it like any
other module.

> He didn't replace make-string-table etal with guile hashes; is/was there
> string-table support somewhere?

I used Guile's make-hash-table as a replacement for make-string-table.
Look into guile-fps/fps.scm, which contains all the porting glue.