diff options
author | Andy Wingo <wingo@pobox.com> | 2016-05-13 10:24:32 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-05-13 10:24:32 +0200 |
commit | 209d50c7d8c1f8e5e365eb7d88d53c297d71621e (patch) | |
tree | 6c4ea17a241d9881316e36016dd47818d0cd246c /libguile/ports.h | |
parent | fe7ceff9691e20723d466542b3ff4132d78f2a3b (diff) | |
download | guile-209d50c7d8c1f8e5e365eb7d88d53c297d71621e.tar.gz |
Embed scm_t_port in scm_t_port_internal
* libguile/ports-internal.h (scm_t_port_internal)
* libguile/ports.h (scm_t_port): Embed scm_t_port in scm_t_port_internal
so that we have just one allocation.
* libguile/ports-internal.h (SCM_PORT_GET_INTERNAL): Adapt.
* libguile/ports.c (scm_i_port_property, scm_i_set_port_property_x)
(scm_c_make_port_with_encoding): Adapt.
Diffstat (limited to 'libguile/ports.h')
-rw-r--r-- | libguile/ports.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libguile/ports.h b/libguile/ports.h index 84f4e0183..793523b71 100644 --- a/libguile/ports.h +++ b/libguile/ports.h @@ -81,9 +81,6 @@ enum scm_port_buffer_field { typedef struct { - /* Pointer to internal-only port structure. */ - struct scm_port_internal *internal; - /* Data for the underlying port implementation as a raw C value. */ scm_t_bits stream; |