chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] easyffi and gtk


From: felix winkelmann
Subject: Re: [Chicken-users] easyffi and gtk
Date: Mon, 29 Jan 2007 10:12:19 +0100

On 1/29/07, Tony Sidaway <address@hidden> wrote:
I'm trying to do basic stuff with easyffi and gtk. Just some basic
sanity checks.

A very simple program that instantiates a toplevel window and terminates.


This is indeed a bug in easyffi (a new version is available in a few minutes).

But note that your example will not work. You will just slurp in huge
amounts of definitions (many of which will not be parsable by easyffi)
and generating gobs of code. Easyffi is not strong enough to do that
sort of "bulk" wrapping. For such things, you should look into SWIG,
for example (http://www.swig.org). Easyffi can handle straight C and C++,
when it is clean and simple and has relatively obvious semantics. For more
advanced things, one has to massage the input anyway.


cheers,
felix




reply via email to

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