guile 1.4.1.93 available

Thien-Thi Nguyen <[email protected]>
Newsgroups gmane.lisp.guile.user,gmane.lisp.guile.sources
Message-ID <[email protected]>
new NEWS excerpt below.  tarball in:

  http://www.glug.org/alt/

this release is primarily to get `scm_terminating' into the wild for
guile-pg.  the observant downloader will notice parsing stuff (lang yy)
still under construction, and other small enhancements here and there
(e.g., doc snarfing now handles the macros in ice-9/threads.scm).

thi

_________________________________________
* New C var: int scm_terminating

This var has value 1 when the process is exiting, during which time routines
that might be executed in that context (e.g., to do port flushing) need to
avoid the normal error-reporting mechanisms (e.g., scm_syserror), typically by
writing a message directly to stderr.  See libguile/fports.c for example
usage.

This var used to be named "terminating" and was not declared in the installed
headers.  If you have programs that rely on it anyway, this configure.in frag
can be used to do the compatibility check:

	AC_CHECK_DECL(scm_terminating,[
          AC_DEFINE(HAVE_SCM_TERMINATING, 1,
                    [Define if libguile.h declares scm_terminating.])
          ],,[[#include "libguile.h"]])

Here is the accompanying C frag:

	#ifndef HAVE_SCM_TERMINATING
	extern int terminating;
	#define scm_terminating terminating
	#endif

Then you would use "scm_terminating" in the code as usual.

[excerpt ends here]


_______________________________________________
Guile-user mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/guile-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.