1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-05 11:40:20 +02:00

* error.h, error.c: Added `scm_wrong_type_arg_msg' to support

displaying the expected type.  Use SCM_LISTn in a couple places
instead of scm_cons-ing by hand.

* __scm.h: Added SCM_ASSERT_TYPE macro.

* validate.h, scm_validate.h: Added the former, as a renamed
version of the latter with SCM_ASSERT_TYPE used in
SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)

* Makefile.am: Rename scm_validate.h to validate.h.

* *.c, *.h: Include validate.h, not scm_validate.h (old name's
prefix was superfluous).
This commit is contained in:
Greg J. Badros 2000-03-03 00:09:54 +00:00
parent 417bdef8a5
commit b6791b2e94
61 changed files with 89 additions and 64 deletions

View file

@ -1,4 +1,4 @@
/* $Id: scm_validate.h,v 1.20 2000-03-02 20:54:43 gjb Exp $ */
/* $Id: scm_validate.h,v 1.21 2000-03-03 00:09:53 gjb Exp $ */
/* Copyright (C) 1999 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify