diff options
author | Andy Wingo <wingo@pobox.com> | 2013-11-28 14:40:58 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-11-28 14:40:58 +0100 |
commit | d364a8971828e38e8f9112b711066f4962bb400e (patch) | |
tree | 4124b254fe4f557c3558eea7f1a0b75010c0e713 /libguile/deprecated.c | |
parent | e7bd20f7d9b2110fdc0fa25db5a2bfe6b2214923 (diff) | |
download | guile-d364a8971828e38e8f9112b711066f4962bb400e.tar.gz |
Deprecate gc-live-object-stats
* libguile/gc.h:
* libguile/gc.c:
* libguile/deprecated.h:
* libguile/deprecated.c (scm_gc_live_object_stats): Deprecate; it hasn't
worked in the whole 2.0 series.
Diffstat (limited to 'libguile/deprecated.c')
-rw-r--r-- | libguile/deprecated.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libguile/deprecated.c b/libguile/deprecated.c index 600b984a7..dee9ac3a4 100644 --- a/libguile/deprecated.c +++ b/libguile/deprecated.c @@ -2936,6 +2936,22 @@ scm_c_program_source (SCM program, size_t ip) +SCM_DEFINE (scm_gc_live_object_stats, "gc-live-object-stats", 0, 0, 0, + (), + "Return an alist of statistics of the current live objects. ") +#define FUNC_NAME s_scm_gc_live_object_stats +{ + scm_c_issue_deprecation_warning + ("gc-live-object-stats is deprecated. There is no replacement,\n" + "unfortunately."); + + return SCM_EOL; +} +#undef FUNC_NAME + + + + void scm_i_init_deprecated () { |