From 02c2516b35f21bbce2dc8c99c76b5674d25de541 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 23 Jun 2025 09:20:53 +0200 Subject: [PATCH] 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);