summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org.ua>2004-08-20 14:52:24 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-08-20 14:52:24 (GMT)
commitdd8e421fdd02f135ad5bbd197d71329fed7cee8b (patch) (side-by-side diff)
treed195ee193e5ddbca4593ec89feca3de9d3c579c2 /include
parentab002eb3f1197c6316a90ef7be7602ce1bdb9029 (diff)
downloadmailutils-dd8e421fdd02f135ad5bbd197d71329fed7cee8b.tar.gz
mailutils-dd8e421fdd02f135ad5bbd197d71329fed7cee8b.tar.bz2
(MU_SCM_SYMBOL_VALUE): New define
(_mu_scm_mailer,_mu_scm_debug): Removed externs.
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/mailutils/guile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mailutils/guile.h b/include/mailutils/guile.h
index d4e4ee4..9e2dbf2 100644
--- a/include/mailutils/guile.h
+++ b/include/mailutils/guile.h
@@ -33,9 +33,12 @@
# define scm_primitive_eval_x scm_eval_x
# define scm_i_big2dbl scm_big2dbl
# define scm_c_eval_string scm_eval_0str
+# define MU_SCM_SYMBOL_VALUE(p) scm_symbol_value0(p)
extern SCM scm_long2num (long val);
+#else
+# define MU_SCM_SYMBOL_VALUE(p) SCM_VARIABLE_REF(scm_c_lookup(p))
#endif
typedef struct
@@ -51,9 +54,6 @@ typedef struct
void *data;
} guimb_param_t;
-extern SCM _mu_scm_mailer;
-extern SCM _mu_scm_debug;
-
#ifdef __cplusplus
extern "C" {
#endif

Return to:

Send suggestions and report system problems to the System administrator.