guile-devel
[Top][All Lists]
Advanced

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

Re: Hook change hook?


From: Marius Vollmer
Subject: Re: Hook change hook?
Date: 14 Mar 2002 20:50:29 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Neil Jerram <address@hidden> writes:

> For a clean solution I guess we should either add a new
> scm_tc7_subr_3o type to the code (scary), or support genericization
> of cclos (also scary).

We should do the latter.  I'll look at this and let you know when I
have something.

> PS. For future reference, here's the SCM_GDEFINE definition that I
> added to snarf.h to try this out:
> 
> #define SCM_GDEFINE(FNAME, PRIMNAME, REQ, OPT, VAR, ARGLIST, DOCSTRING) \
> SCM_SNARF_HERE(\
> static const char s_ ## FNAME [] = PRIMNAME; \
> static SCM g_ ## FNAME; \
> SCM FNAME ARGLIST\
> )\
> SCM_SNARF_INIT(\
> scm_c_define_gsubr_with_generic (s_ ## FNAME, REQ, OPT, VAR, \
>                                  (SCM_FUNC_CAST_ARBITRARY_ARGS) FNAME, \
>                                  & g_ ## FNAME); \

Don't you need to initialize g_FNAME before calling
scm_c_define_gsubr_with_generic?



reply via email to

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