[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The GH interface. (was: Patch for gh.h)
From: |
Rob Browning |
Subject: |
Re: The GH interface. (was: Patch for gh.h) |
Date: |
08 May 2001 22:18:22 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Dirk Herrmann <address@hidden> writes:
> IMO, the best solution is the one that was proposed by Neil Jerram in
> this same thread:
>
> > - invent a macro SCM_INTERNAL, and use it in libguile header files to
> > mark everything not considered portable, stable and appropriate for
> > external use (then Guile would #define SCM_INTERNAL, but
> > applications should normally not do so)
>
> No additional files, no weird renaming. Making a definition internal is
> quite easy and just requires to put it between #ifdef SCM_INTERNAL #endif
> pairs. However, we also have the convention, that internal definitions
> should use a scm_i_ or SCM_I_ prefix, but not many definitions follow this
> rule yet. A combination of both ideas (i. e. using SCM_INTERNAL
> plus the scm_i_ / SCM_I_ prefix) seems nice.
Oh, right I'd forgotten about that one. That sounds good too, though
if the SCM_INTERNAL blocks are scattered and large, it might be more
confusing to end-users, but it's certainly less hassle, editing-wise.
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930
Re: The GH interface. (was: Patch for gh.h), Chris Cramer, 2001/05/02
Re: The GH interface. (was: Patch for gh.h), Martin Grabmueller, 2001/05/02
Re: The GH interface. (was: Patch for gh.h), Neil Jerram, 2001/05/02
Re: The GH interface. (was: Patch for gh.h), Marius Vollmer, 2001/05/08