mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
remove all deprecated code
* libguile/async.c: * libguile/async.h: * libguile/debug.h: * libguile/deprecated.c: * libguile/deprecated.h: * libguile/evalext.h: * libguile/gc-malloc.c: * libguile/gc.h: * libguile/gen-scmconfig.c: * libguile/numbers.c: * libguile/ports.c: * libguile/ports.h: * libguile/procprop.c: * libguile/procprop.h: * libguile/read.c: * libguile/socket.c: * libguile/srfi-4.h: * libguile/strings.c: * libguile/strings.h: * libguile/tags.h: * module/ice-9/boot-9.scm: * module/ice-9/deprecated.scm: Remove all deprecated code. CPP defines that were not previously issuing warnings were changed so that their expansions would indicate the replacement forms to use, e.g. scm_sizet__GONE__REPLACE_WITH__size_t. The two exceptions were SCM_LISTN, which did not produce warnings before, and the string-filter argument order stuff. Drops the initial dirty memory usage of Guile down to 2.8 MB on my machine, from 4.4 MB.
This commit is contained in:
parent
7fbea320fb
commit
fc7bd367ab
22 changed files with 73 additions and 4745 deletions
|
@ -235,21 +235,6 @@ SCM_API SCM scm_sys_stringbuf_hist (void);
|
|||
|
||||
|
||||
|
||||
/* deprecated stuff */
|
||||
|
||||
#if SCM_ENABLE_DEPRECATED
|
||||
|
||||
SCM_DEPRECATED int scm_i_deprecated_stringp (SCM obj);
|
||||
SCM_DEPRECATED char *scm_i_deprecated_string_chars (SCM str);
|
||||
SCM_DEPRECATED size_t scm_i_deprecated_string_length (SCM str);
|
||||
|
||||
#define SCM_STRINGP(x) scm_i_deprecated_stringp(x)
|
||||
#define SCM_STRING_CHARS(x) scm_i_deprecated_string_chars(x)
|
||||
#define SCM_STRING_LENGTH(x) scm_i_deprecated_string_length(x)
|
||||
#define SCM_STRING_UCHARS(str) ((unsigned char *)SCM_STRING_CHARS (str))
|
||||
|
||||
#endif
|
||||
|
||||
SCM_INTERNAL void scm_init_strings (void);
|
||||
|
||||
#endif /* SCM_STRINGS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue