Use `SCM_DEPRECATED' in declarations of deprecated functions/variables.
* libguile/deprecated.c (SCM_BUILDING_DEPRECATED_CODE): New macro. * libguile/async.c (SCM_BUILDING_DEPRECATED_CODE): Likewise. * libguile/macros.c (SCM_BUILDING_DEPRECATED_CODE): Likewise. * libguile/async.h, libguile/deprecated.h, libguile/eval.h, libguile/gc.h, libguile/gc.h, libguile/macros.h, libguile/ports.h, libguile/srfi-4.h, libguile/strings.h: Change declarations of deprecated functions and variables to use `SCM_DEPRECATED' instead of `SCM_API'.
This commit is contained in:
parent
743b887290
commit
0eb934f1f0
11 changed files with 164 additions and 156 deletions
|
|
@ -157,9 +157,9 @@ SCM_INTERNAL void scm_init_eval (void);
|
|||
#if (SCM_ENABLE_DEPRECATED == 1)
|
||||
|
||||
/* Deprecated in guile 1.7.0 on 2004-03-29. */
|
||||
SCM_API SCM scm_ceval (SCM x, SCM env);
|
||||
SCM_API SCM scm_deval (SCM x, SCM env);
|
||||
SCM_API SCM (*scm_ceval_ptr) (SCM x, SCM env);
|
||||
SCM_DEPRECATED SCM scm_ceval (SCM x, SCM env);
|
||||
SCM_DEPRECATED SCM scm_deval (SCM x, SCM env);
|
||||
SCM_DEPRECATED SCM (*scm_ceval_ptr) (SCM x, SCM env);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue