diff options
author | Han-Wen Nienhuys <hanwen@lilypond.org> | 2007-01-19 19:26:36 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@lilypond.org> | 2007-01-19 19:26:36 +0000 |
commit | 62560650136f8c1a321a754e5081e323009b812a (patch) | |
tree | e20bd1417e43f56b818c79fd5059a61a036532e2 /libguile/options.h | |
parent | 42ddb3cb8b30a2bba45c4ef9bf29d3ab04c6cc45 (diff) | |
download | guile-62560650136f8c1a321a754e5081e323009b812a.tar.gz |
* readline.c: terminate option list with NULL.
* read.c: idem.
* print.c: idem.
* eval.c: terminate option lists with 0.
* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
Diffstat (limited to 'libguile/options.h')
-rw-r--r-- | libguile/options.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/options.h b/libguile/options.h index 650081cd2..71761245e 100644 --- a/libguile/options.h +++ b/libguile/options.h @@ -40,8 +40,8 @@ typedef struct scm_t_option #define SCM_OPTION_SCM 2 -SCM_API SCM scm_options (SCM, scm_t_option [], unsigned int, const char*); -SCM_API void scm_init_opts (SCM (*) (SCM), scm_t_option [], unsigned int n); +SCM_API SCM scm_options (SCM, scm_t_option [], const char*); +SCM_API void scm_init_opts (SCM (*) (SCM), scm_t_option []); SCM_API void scm_init_options (void); #endif /* SCM_OPTIONS_H */ |