diff options
author | Andy Wingo <wingo@pobox.com> | 2016-04-23 12:33:48 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-04-23 21:53:54 +0200 |
commit | 21650f8d52e8a42bb44c92e85b6e96da1fcf5805 (patch) | |
tree | 657df7c85a1ace0dd25e8f1b09b85736f242978c /libguile/ports.h | |
parent | cd83872df8c495f1f5a4aa304dfb9b2d99ce5b22 (diff) | |
download | guile-21650f8d52e8a42bb44c92e85b6e96da1fcf5805.tar.gz |
Remove scm_unget_{byte,bytes}_unlocked
* libguile/ports.h (scm_unget_bytes_unlocked, scm_unget_byte_unlocked):
Remove.
* libguile/ports.c (looking_at_bytes): Use scm_unget_bytes instead of
scm_i_unget_bytes_unlocked
(scm_unget_bytes): Rename from scm_i_unget_bytes_unlocked. Remove
other implementations of this function.
(scm_unget_byte): Likewise.
(scm_ungetc_unlocked, scm_peek_char): Use scm_unget_byte.
* libguile/read.c (read_token): Use scm_unget_byte.
Diffstat (limited to 'libguile/ports.h')
-rw-r--r-- | libguile/ports.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libguile/ports.h b/libguile/ports.h index 23ceb2be4..4d9c72b80 100644 --- a/libguile/ports.h +++ b/libguile/ports.h @@ -304,9 +304,7 @@ SCM_API SCM scm_read_char (SCM port); /* Pushback. */ SCM_API void scm_unget_bytes (const unsigned char *buf, size_t len, SCM port); -SCM_API void scm_unget_bytes_unlocked (const unsigned char *buf, size_t len, SCM port); SCM_API void scm_unget_byte (int c, SCM port); -SCM_API void scm_unget_byte_unlocked (int c, SCM port); SCM_API void scm_ungetc (scm_t_wchar c, SCM port); SCM_API void scm_ungetc_unlocked (scm_t_wchar c, SCM port); SCM_API void scm_ungets (const char *s, int n, SCM port); |