guile-devel
[Top][All Lists]
Advanced

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

Re: Functions from guile-gtk


From: Alex Shinn
Subject: Re: Functions from guile-gtk
Date: 06 Aug 2001 14:33:13 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104

>>>>> "Daniel" == Daniel Skarda <address@hidden> writes:

    Daniel>   This translation is handled by scm.*(flags|enum).*
    Daniel> functions in guile-gtk/ guile-gtk.c. They translate
    Daniel> symbols (list of symbols) into numbers (or back from
    Daniel> numbers to scheme data). The convention is quite clean and
    Daniel> supporting functions could be provided by Guile (so
    Daniel> convention could be easily adopted by other
    Daniel> packages). Because almost all bindings in guile-gtk are
    Daniel> machine generated, we should add some SCM_VALIDATE_*
    Daniel> macros (and possibly also some snarfing macros for easy
    Daniel> initialisation from .x files).

We use this same approach in guile-sdl (actually inspired by
guile-gtk).  It would be nice to consolidate and standardize the
enum/flag handling functions... I will probably release 0.1.7 tonight
and then look into how guile-gtk does this.

-- 
Alex Shinn <address@hidden>



reply via email to

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