diff options
author | Mark H Weaver <mhw@netris.org> | 2013-03-30 22:34:56 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2013-04-01 16:13:47 -0400 |
commit | e459855936262b4bddaebd87a75abdc065799be2 (patch) | |
tree | 9da39bc6d82491caadaa13b37af767ba7e69cd07 /libguile/Makefile.am | |
parent | 663780bb1c881947b6e4f00c456b2b367701982d (diff) |
Add internal-only port structure and move iconv descriptors there.
* libguile/ports-internal.h: New file.
* libguile/Makefile.am (noinst_HEADERS): Add ports-internal.h.
* libguile/ports.h (scm_t_port): Add a comment mentioning that the
'input_cd' and 'output_cd' fields of the public structure are no
longer what they seem to be.
* libguile/ports.c: Include ports-internal.h.
(finalize_port, scm_i_remove_port, get_iconv_codepoint, get_codepoint,
scm_i_set_port_encoding_x): Access 'input_cd' and 'output_cd' via the
new internal port structure.
(scm_new_port_table_entry): Allocate and initialize the internal port
structure.
* libguile/print.c: Include ports-internal.h.
(display_string_using_iconv, display_string): Access 'input_cd' and
'output_cd' via 'internal' pointer.
Diffstat (limited to 'libguile/Makefile.am')
-rw-r--r-- | libguile/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 4b1f96bee..dcbdba12a 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -1,6 +1,7 @@ ## Process this file with Automake to create Makefile.in ## -## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. +## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, +## 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. ## ## This file is part of GUILE. ## @@ -455,7 +456,7 @@ noinst_HEADERS = conv-integer.i.c conv-uinteger.i.c \ srfi-14.i.c \ quicksort.i.c \ win32-uname.h \ - private-gc.h private-options.h + private-gc.h private-options.h ports-internal.h # vm instructions noinst_HEADERS += vm-engine.c vm-i-system.c vm-i-scheme.c vm-i-loader.c |