(_mu_scm_package_string, in scheme mu-package-string): New global.
Showing
1 changed file
with
8 additions
and
4 deletions
... | @@ -47,10 +47,11 @@ mu_set_variable (const char *name, SCM value) | ... | @@ -47,10 +47,11 @@ mu_set_variable (const char *name, SCM value) |
47 | scm_c_define (name, value); | 47 | scm_c_define (name, value); |
48 | } | 48 | } |
49 | 49 | ||
50 | SCM _mu_scm_package; /* STRING: PACKAGE */ | 50 | SCM _mu_scm_package_string; /* STRING: PACKAGE_STRING */ |
51 | SCM _mu_scm_version; /* STRING: VERSION */ | 51 | SCM _mu_scm_package; /* STRING: PACKAGE */ |
52 | SCM _mu_scm_mailer; /* STRING: Default mailer path. */ | 52 | SCM _mu_scm_version; /* STRING: VERSION */ |
53 | SCM _mu_scm_debug; /* NUM: Default debug level. */ | 53 | SCM _mu_scm_mailer; /* STRING: Default mailer path. */ |
54 | SCM _mu_scm_debug; /* NUM: Default debug level. */ | ||
54 | 55 | ||
55 | struct format_record { | 56 | struct format_record { |
56 | char *name; | 57 | char *name; |
... | @@ -179,6 +180,9 @@ mu_scm_init () | ... | @@ -179,6 +180,9 @@ mu_scm_init () |
179 | _mu_scm_version = scm_makfrom0str (VERSION); | 180 | _mu_scm_version = scm_makfrom0str (VERSION); |
180 | mu_set_variable ("mu-version", _mu_scm_version); | 181 | mu_set_variable ("mu-version", _mu_scm_version); |
181 | 182 | ||
183 | _mu_scm_package_string = scm_makfrom0str (PACKAGE_STRING); | ||
184 | mu_set_variable ("mu-package-string", _mu_scm_package_string); | ||
185 | |||
182 | /* Create MU- attribute names */ | 186 | /* Create MU- attribute names */ |
183 | for (i = 0; attr_kw[i].name; i++) | 187 | for (i = 0; attr_kw[i].name; i++) |
184 | scm_c_define(attr_kw[i].name, SCM_MAKINUM(attr_kw[i].value)); | 188 | scm_c_define(attr_kw[i].name, SCM_MAKINUM(attr_kw[i].value)); | ... | ... |
-
Please register or sign in to post a comment