summaryrefslogtreecommitdiff
path: root/libguile/modules.h
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-05-27 22:00:03 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-05-27 22:00:03 +0000
commit729dbac32f9b3a8b2c6fe399f4e725549cecd1e7 (patch)
treeb8ffb0687a7290e037a64aef646fee3747574db0 /libguile/modules.h
parentfc62c86a599039709b22783a0abc552a5f33719e (diff)
downloadguile-729dbac32f9b3a8b2c6fe399f4e725549cecd1e7.tar.gz
* Changed the default definition of SCM.
* Fixed some typing problems detected by the above change. * Fixed some problems that were detected by compiling guile with -W.
Diffstat (limited to 'libguile/modules.h')
-rw-r--r--libguile/modules.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libguile/modules.h b/libguile/modules.h
index 632668ebe..2dd058524 100644
--- a/libguile/modules.h
+++ b/libguile/modules.h
@@ -1,8 +1,8 @@
/* classes: h_files */
-#ifndef MODULESH
-#define MODULESH
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+#ifndef SCM_MODULES_H
+#define SCM_MODULES_H
+/* Copyright (C) 1998,2000,2001 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
@@ -51,10 +51,10 @@
extern int scm_module_system_booted_p;
-extern SCM scm_module_tag;
+extern scm_bits_t scm_module_tag;
#define SCM_MODULEP(OBJ) \
- (SCM_NIMP (OBJ) && SCM_CELL_TYPE (OBJ) == scm_module_tag)
+ (!SCM_IMP (OBJ) && SCM_CELL_TYPE (OBJ) == scm_module_tag)
#define SCM_VALIDATE_MODULE(pos, scm) SCM_MAKE_VALIDATE (pos, scm, MODULEP)
@@ -139,7 +139,7 @@ extern SCM scm_load_scheme_module (SCM name);
#endif
-#endif /* MODULESH */
+#endif /* SCM_MODULES_H */
/*
Local Variables: