summaryrefslogtreecommitdiff
path: root/libguile/options.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2000-03-12 18:30:33 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2000-03-12 18:30:33 +0000
commitf12677062e15015d7ef7d36fe3d103a77d1fefca (patch)
treee9ec3a99d2037b92f5c0c95e2a5b6e234b7ebb9d /libguile/options.c
parent67673f7594ecd4768b9e6db847949406a9e10091 (diff)
downloadguile-f12677062e15015d7ef7d36fe3d103a77d1fefca.tar.gz
*** empty log message ***
Diffstat (limited to 'libguile/options.c')
-rw-r--r--libguile/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/options.c b/libguile/options.c
index 5ac0a4323..c8b89bd74 100644
--- a/libguile/options.c
+++ b/libguile/options.c
@@ -186,7 +186,7 @@ scm_options (SCM arg, scm_option options[], int n, const char *s)
goto cont;
case SCM_OPTION_SCM:
new_mode = SCM_CDR (new_mode);
- flags[i] = SCM_CARBITS (new_mode);
+ flags[i] = SCM_UNPACK_CAR (new_mode);
goto cont;
}
#ifndef SCM_RECKLESS
@@ -201,8 +201,8 @@ scm_options (SCM arg, scm_option options[], int n, const char *s)
// scm_option doesn't know if its a long or an SCM
if (options[i].type == SCM_OPTION_SCM)
SCM_SETCDR (protected_objects,
- scm_cons (SCM_SCM(flags[i]),
- scm_delq1_x (SCM_SCM(options[i].val),
+ scm_cons (SCM_PACK(flags[i]),
+ scm_delq1_x (SCM_PACK(options[i].val),
SCM_CDR (protected_objects))));
options[i].val = flags[i];
}
@@ -224,7 +224,7 @@ scm_init_opts (SCM (*func) (SCM), scm_option options[], int n)
(options[i].doc));
if (options[i].type == SCM_OPTION_SCM)
SCM_SETCDR (protected_objects,
- scm_cons (SCM_SCM(options[i].val), SCM_CDR (protected_objects)));
+ scm_cons (SCM_PACK(options[i].val), SCM_CDR (protected_objects)));
}
func (SCM_UNDEFINED);
}