[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 19/21: Remove unused type from ports-internal
From: |
Andy Wingo |
Subject: |
[Guile-commits] 19/21: Remove unused type from ports-internal |
Date: |
Mon, 16 May 2016 07:39:35 +0000 (UTC) |
wingo pushed a commit to branch wip-port-refactor
in repository guile.
commit 745cbb491806929a342c016c73afcdc117f2398b
Author: Andy Wingo <address@hidden>
Date: Sat May 14 23:46:17 2016 +0200
Remove unused type from ports-internal
* libguile/ports-internal.h: Remove unused scm_t_port_rw_active.
* libguile/deprecated.h (scm_port_rw_active): Remove deprecation shim,
as this thing is just gone now.
---
libguile/deprecated.h | 1 -
libguile/ports-internal.h | 6 ------
2 files changed, 7 deletions(-)
diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index 04c540e..592dc98 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -115,7 +115,6 @@ SCM_DEPRECATED SCM scm_internal_dynamic_wind (scm_t_guard
before,
#define scm_listify scm_listify__GONE__REPLACE_WITH__scm_list_n
#define scm_option scm_option__GONE__REPLACE_WITH__scm_t_option
#define scm_port scm_port__GONE__REPLACE_WITH__scm_t_port
-#define scm_port_rw_active
scm_port_rw_active__GONE__REPLACE_WITH__scm_t_port_rw_active
#define scm_ptob_descriptor
scm_ptob_descriptor__GONE__REPLACE_WITH__scm_t_port_type
#define scm_rng scm_rng__GONE__REPLACE_WITH__scm_t_rng
#define scm_rstate scm_rstate__GONE__REPLACE_WITH__scm_t_rstate
diff --git a/libguile/ports-internal.h b/libguile/ports-internal.h
index 161213b..54ce3e4 100644
--- a/libguile/ports-internal.h
+++ b/libguile/ports-internal.h
@@ -331,12 +331,6 @@ struct scm_t_port
#define SCM_DECCOL(port) do {if (SCM_COL (port) > 0) SCM_COL (port) -=
1;} while (0)
#define SCM_TABCOL(port) do {SCM_COL (port) += 8 - SCM_COL (port) % 8;}
while (0)
-typedef enum scm_t_port_rw_active {
- SCM_PORT_NEITHER = 0,
- SCM_PORT_READ = 1,
- SCM_PORT_WRITE = 2
-} scm_t_port_rw_active;
-
SCM_INTERNAL scm_t_iconv_descriptors * scm_i_port_iconv_descriptors (SCM port);
#endif
- [Guile-commits] 12/21: Update port documentation, (continued)
- [Guile-commits] 12/21: Update port documentation, Andy Wingo, 2016/05/16
- [Guile-commits] 04/21: Add (ice-9 sports) module, Andy Wingo, 2016/05/16
- [Guile-commits] 13/21: Make scm_t_ptob_descriptor private., Andy Wingo, 2016/05/16
- [Guile-commits] 15/21: Update port type documentation, Andy Wingo, 2016/05/16
- [Guile-commits] 09/21: Make port buffering fields private, Andy Wingo, 2016/05/16
- [Guile-commits] 16/21: Add SCM_OPN to mode bits when making ports, Andy Wingo, 2016/05/16
- [Guile-commits] 03/21: Beginnings of shunting ports-in-scheme off to a module, Andy Wingo, 2016/05/16
- [Guile-commits] 14/21: Use heap-allocated port types instead of ptobnums, Andy Wingo, 2016/05/16
- [Guile-commits] 11/21: Remove scm_t_port_internal, Andy Wingo, 2016/05/16
- [Guile-commits] 06/21: Remove SCM backlink in port structure, Andy Wingo, 2016/05/16
- [Guile-commits] 19/21: Remove unused type from ports-internal,
Andy Wingo <=
- [Guile-commits] 05/21: Add random_access_p port type method, Andy Wingo, 2016/05/16