wingo pushed a commit to branch wip-whippet
in repository guile.

commit 02c2516b35f21bbce2dc8c99c76b5674d25de541
Author: Andy Wingo <wi...@pobox.com>
AuthorDate: Mon Jun 23 09:20:53 2025 +0200

    Remove SCM_IMMUTABLE_POINTER
    
    * libguile/foreign.h (SCM_IMMUTABLE_POINTER): Remove.  This was part of
    the implementation of static subrs, a long long time ago, but hasn't
    been used since 2013 (27337b6373954e1a975d97d0bf06b5c03d65b64d).
---
 libguile/foreign.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libguile/foreign.h b/libguile/foreign.h
index 9cd895976..0f5b2fef5 100644
--- a/libguile/foreign.h
+++ b/libguile/foreign.h
@@ -58,9 +58,6 @@ typedef void (*scm_t_pointer_finalizer) (void *);
 #define SCM_POINTER_VALUE(x)                   \
   ((void *) SCM_CELL_WORD_1 (x))
 
-#define SCM_IMMUTABLE_POINTER(c_name, ptr)             \
-  SCM_IMMUTABLE_CELL (c_name, scm_tc7_pointer, ptr)
-
 SCM_API void *scm_to_pointer (SCM pointer);
 SCM_API SCM scm_from_pointer (void *, scm_t_pointer_finalizer);
 

Reply via email to