guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-276-ge0079


From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-276-ge00793d
Date: Tue, 02 Apr 2013 23:44:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=e00793d7a986053976c088f4aa4088c4d648825d

The branch, stable-2.0 has been updated
       via  e00793d7a986053976c088f4aa4088c4d648825d (commit)
      from  1fa89aaf6191dfe24e7494726ce37b698736103f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e00793d7a986053976c088f4aa4088c4d648825d
Author: Mark H Weaver <address@hidden>
Date:   Tue Apr 2 19:35:43 2013 -0400

    Rename 'scm_i_get_byte_or_eof' et al; mark them as SCM_API.
    
    * libguile/ports.c (scm_i_get_byte_or_eof, scm_i_peek_byte_or_eof):
      Rename to 'scm_slow_get_byte_or_eof' and 'scm_slow_peek_byte_or_eof',
      respectively.
    
    * libguile/ports.h (scm_i_get_byte_or_eof, scm_i_peek_byte_or_eof):
      Rename to 'scm_slow_get_byte_or_eof' and 'scm_slow_peek_byte_or_eof',
      respectively, and mark them as SCM_API.
    
    * libguile/inline.h (scm_get_byte_or_eof, scm_peek_byte_or_eof): Adjust
      to use the new names.

-----------------------------------------------------------------------

Summary of changes:
 libguile/inline.h |    4 ++--
 libguile/ports.c  |    4 ++--
 libguile/ports.h  |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libguile/inline.h b/libguile/inline.h
index 17d8a0c..0d1a634 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -102,7 +102,7 @@ scm_get_byte_or_eof (SCM port)
                   && pt->read_pos < pt->read_end))
     return *pt->read_pos++;
   else
-    return scm_i_get_byte_or_eof (port);
+    return scm_slow_get_byte_or_eof (port);
 }
 
 /* Like `scm_get_byte_or_eof' but does not change PORT's `read_pos'.  */
@@ -115,7 +115,7 @@ scm_peek_byte_or_eof (SCM port)
                   && pt->read_pos < pt->read_end))
     return *pt->read_pos;
   else
-    return scm_i_peek_byte_or_eof (port);
+    return scm_slow_peek_byte_or_eof (port);
 }
 
 SCM_INLINE_IMPLEMENTATION void
diff --git a/libguile/ports.c b/libguile/ports.c
index af563c8..51145e6 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -1455,7 +1455,7 @@ scm_fill_input (SCM port)
 
 /* Slow-path fallback for 'scm_get_byte_or_eof' in inline.h */
 int
-scm_i_get_byte_or_eof (SCM port)
+scm_slow_get_byte_or_eof (SCM port)
 {
   scm_t_port *pt = SCM_PTAB_ENTRY (port);
 
@@ -1476,7 +1476,7 @@ scm_i_get_byte_or_eof (SCM port)
 
 /* Slow-path fallback for 'scm_peek_byte_or_eof' in inline.h */
 int
-scm_i_peek_byte_or_eof (SCM port)
+scm_slow_peek_byte_or_eof (SCM port)
 {
   scm_t_port *pt = SCM_PTAB_ENTRY (port);
 
diff --git a/libguile/ports.h b/libguile/ports.h
index 54bf595..ca5bf2f 100644
--- a/libguile/ports.h
+++ b/libguile/ports.h
@@ -328,8 +328,8 @@ scm_i_default_port_conversion_handler (void);
 /* Use HANDLER as the default conversion strategy for future ports.  */
 SCM_INTERNAL void
 scm_i_set_default_port_conversion_handler 
(scm_t_string_failed_conversion_handler);
-SCM_INTERNAL int scm_i_get_byte_or_eof (SCM port);
-SCM_INTERNAL int scm_i_peek_byte_or_eof (SCM port);
+SCM_API int scm_slow_get_byte_or_eof (SCM port);
+SCM_API int scm_slow_peek_byte_or_eof (SCM port);
 
 SCM_API SCM scm_port_conversion_strategy (SCM port);
 SCM_API SCM scm_set_port_conversion_strategy_x (SCM port, SCM behavior);


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]