diff options
author | Andy Wingo <wingo@pobox.com> | 2013-11-19 19:36:16 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-11-19 19:38:48 +0100 |
commit | 2e12c1a2b7a5d066a4ef07b32c19cdf8d2f1738b (patch) | |
tree | f5ff0da984815ca2375085197c50d8dab0ffe31a /libguile/programs.c | |
parent | fd5621f8680e6a9a919324ed47a63cbdaa8a15ab (diff) | |
download | guile-2e12c1a2b7a5d066a4ef07b32c19cdf8d2f1738b.tar.gz |
Rename (system vm program) internal functions to remove rtl-
* module/system/vm/program.scm (program-name)
(program-documentation): Rename (removing rtl-).
* libguile/programs.c (scm_i_program_name):
(scm_i_program_documentation): Adapt callers.
Diffstat (limited to 'libguile/programs.c')
-rw-r--r-- | libguile/programs.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/libguile/programs.c b/libguile/programs.c index 9ba361980..7a0127670 100644 --- a/libguile/programs.c +++ b/libguile/programs.c @@ -44,32 +44,31 @@ SCM_DEFINE (scm_program_code, "program-code", 1, 0, 0, SCM scm_i_program_name (SCM program) { - static SCM rtl_program_name = SCM_BOOL_F; + static SCM program_name = SCM_BOOL_F; if (SCM_PRIMITIVE_P (program)) return SCM_SUBR_NAME (program); - if (scm_is_false (rtl_program_name) && scm_module_system_booted_p) - rtl_program_name = - scm_c_private_variable ("system vm program", "rtl-program-name"); + if (scm_is_false (program_name) && scm_module_system_booted_p) + program_name = + scm_c_private_variable ("system vm program", "program-name"); - return scm_call_1 (scm_variable_ref (rtl_program_name), program); + return scm_call_1 (scm_variable_ref (program_name), program); } SCM scm_i_program_documentation (SCM program) { - static SCM rtl_program_documentation = SCM_BOOL_F; + static SCM program_documentation = SCM_BOOL_F; if (SCM_PRIMITIVE_P (program)) return SCM_BOOL_F; - if (scm_is_false (rtl_program_documentation) && scm_module_system_booted_p) - rtl_program_documentation = - scm_c_private_variable ("system vm program", - "rtl-program-documentation"); + if (scm_is_false (program_documentation) && scm_module_system_booted_p) + program_documentation = + scm_c_private_variable ("system vm program", "program-documentation"); - return scm_call_1 (scm_variable_ref (rtl_program_documentation), program); + return scm_call_1 (scm_variable_ref (program_documentation), program); } SCM |