This is the mail archive of the
guile-emacs@sourceware.cygnus.com
mailing list for the Guile project.
Re: guileapi.x problems [patch]
Keisuke Nishida <kxn30@po.cwru.edu> writes:
> What would be the best?
I think it would be cleanest to put #ifndef SCM_MAGIC_SNARFER
around the #include: we don't want the behavior of guile-snarf to
depend on the previous contents of *.x. After this, the Makefile
could be changed to use a temporary file.
Although the current version of guile-snarf defines
SCM_MAGIC_SNARFER, that macro doesn't seem to be documented
anywhere so relying on it is a bit risky. If the Guile team
promises they won't remove this macro, all is well. Such a
promise should be written down in the manual so that their
grandchildren won't forget it. ;-)