* 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.
&& 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'. */
&& 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
/* 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);
/* 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);
/* 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);