diff options
author | Marius Vollmer <mvo@zagadka.de> | 2002-10-20 22:59:01 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2002-10-20 22:59:01 +0000 |
commit | 6182ceacb46a4892d00402cf2e3f0e8aa03bbb92 (patch) | |
tree | 55b72240ba1129e8ec2ec767797d709c05113bab /libguile/modules.h | |
parent | a7785f36d42d15b146f1f2fdf1547fd58d44c1a9 (diff) | |
download | guile-6182ceacb46a4892d00402cf2e3f0e8aa03bbb92.tar.gz |
(SCM_MAKE_VALIDATE_MSG): New. Use it instead of SCM_MAKE_VALIDATE in
lots of places to gove better error messages. Thanks to Bill
Schottstaedt!
Diffstat (limited to 'libguile/modules.h')
-rw-r--r-- | libguile/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/modules.h b/libguile/modules.h index 32d74efeb..db3d789be 100644 --- a/libguile/modules.h +++ b/libguile/modules.h @@ -3,7 +3,7 @@ #ifndef SCM_MODULES_H #define SCM_MODULES_H -/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,7 +58,7 @@ SCM_API scm_t_bits scm_module_tag; #define SCM_MODULEP(OBJ) \ (!SCM_IMP (OBJ) && SCM_CELL_TYPE (OBJ) == scm_module_tag) -#define SCM_VALIDATE_MODULE(pos, scm) SCM_MAKE_VALIDATE (pos, scm, MODULEP) +#define SCM_VALIDATE_MODULE(pos, scm) SCM_MAKE_VALIDATE_MSG (pos, scm, MODULEP, "module") /* NOTE: Indexes of module fields are dependent upon the definition of * module-type in boot-9.scm. |