X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/b4309c3c5aaaf14b91c9adbec5a668e7013774fe..a48a7629fcb9a3659f30eb593af75bb804e7e352:/libguile/strports.h diff --git a/libguile/strports.h b/libguile/strports.h index e8ba90ff4..d87f8d393 100644 --- a/libguile/strports.h +++ b/libguile/strports.h @@ -16,7 +16,8 @@ * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA * * As a special exception, the Free Software Foundation gives permission * for additional uses of the text contained in its release of GUILE. @@ -40,36 +41,21 @@ * * If you write modifications of your own for GUILE, it is your choice * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - */ + * If you do not wish that, delete this exception notice. */ #include "libguile/__scm.h" -extern scm_ptobfuns scm_stptob; - -#ifdef __STDC__ -extern SCM scm_mkstrport (SCM pos, SCM str, long modes, char * caller); -extern SCM scm_call_with_output_string (SCM proc); -extern SCM scm_strprint_obj (SCM obj); -extern SCM scm_call_with_input_string (SCM str, SCM proc); -extern void scm_init_strports (void); - -#else /* STDC */ -extern SCM scm_mkstrport (); -extern SCM scm_call_with_output_string (); -extern SCM scm_strprint_obj (); -extern SCM scm_call_with_input_string (); -extern void scm_init_strports (); - -#endif /* STDC */ - - - - - - +extern SCM scm_mkstrport SCM_P ((SCM pos, SCM str, long modes, const char * caller)); +extern SCM scm_strport_to_string (SCM port); +extern SCM scm_call_with_output_string SCM_P ((SCM proc)); +extern SCM scm_strprint_obj SCM_P ((SCM obj)); +extern SCM scm_call_with_input_string SCM_P ((SCM str, SCM proc)); +extern SCM scm_read_0str SCM_P ((char *expr)); +extern SCM scm_eval_0str SCM_P ((char *expr)); +extern SCM scm_eval_string SCM_P ((SCM string)); +extern void scm_init_strports SCM_P ((void)); #endif /* STRPORTSH */