diff options
author | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2000-05-18 08:47:52 +0000 |
---|---|---|
committer | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2000-05-18 08:47:52 +0000 |
commit | af45e3b06accc40d2c92918d5901afb793e8b247 (patch) | |
tree | 36558f693d2e1bdbcd89d8ff533c8852abf47435 /libguile/__scm.h | |
parent | c8a54c4b87d561a6a4cc6464846af51f8215ef1e (diff) | |
download | guile-af45e3b06accc40d2c92918d5901afb793e8b247.tar.gz |
* Unified some rest argument checking and handling.
Diffstat (limited to 'libguile/__scm.h')
-rw-r--r-- | libguile/__scm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libguile/__scm.h b/libguile/__scm.h index 6572fd979..fc0f5ab89 100644 --- a/libguile/__scm.h +++ b/libguile/__scm.h @@ -167,13 +167,13 @@ #define SCM_DEBUG_DEPRECATED SCM_DEBUG #endif -/* If SCM_DEBUG_REST_ARGUMENTS is set to 1, functions that take rest arguments - * will check whether the rest arguments actually form a proper list. - * Otherwise it is assumed that the rest arguments form a proper list and only - * the parameters themselves, which are given as rest arguments, are checked. +/* If SCM_DEBUG_REST_ARGUMENT is set to 1, functions that take rest arguments + * will check whether the rest arguments are actually passed as a proper list. + * Otherwise, if SCM_DEBUG_REST_ARGUMENT is 0, functions that take rest + * arguments will take it for granted that these are passed as a proper list. */ -#ifndef SCM_DEBUG_REST_ARGUMENTS -#define SCM_DEBUG_REST_ARGUMENTS SCM_DEBUG +#ifndef SCM_DEBUG_REST_ARGUMENT +#define SCM_DEBUG_REST_ARGUMENT SCM_DEBUG #endif /* Use this for _compile time_ type checking only, since the compiled result |