#ifndef SCM_PRINT_H #define SCM_PRINT_H /* Copyright 1995-1996,1998,2000-2001,2003-2004,2006,2008,2010,2012,2017-2018,2025 Free Software Foundation, Inc. This file is part of Guile. Guile is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Guile is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Guile. If not, see . */ #include "libguile/chars.h" #include #include #include "libguile/options.h" struct scm_print_state; typedef struct scm_print_state scm_print_state; SCM_API SCM scm_print_options (SCM setting); SCM_API void scm_intprint (intmax_t n, int radix, SCM port); SCM_API void scm_uintprint (uintmax_t n, int radix, SCM port); SCM_API void scm_ipruk (char *hdr, SCM ptr, SCM port); SCM_API void scm_iprlist (char *hdr, SCM exp, int tlr, SCM port, scm_print_state *pstate); SCM_API void scm_print_symbol_name (const char *str, size_t len, SCM port); SCM_API void scm_prin1 (SCM exp, SCM port, int writingp); SCM_API void scm_iprin1 (SCM exp, SCM port, scm_print_state *pstate); SCM_API SCM scm_write (SCM obj, SCM port); SCM_API SCM scm_display (SCM obj, SCM port); SCM_API SCM scm_simple_format (SCM port, SCM message, SCM args); SCM_API SCM scm_newline (SCM port); SCM_API SCM scm_write_char (SCM chr, SCM port); SCM_INTERNAL void scm_init_print (void); #endif /* SCM_PRINT_H */