1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-01 15:20:34 +02:00

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 (27337b6373).
This commit is contained in:
Andy Wingo 2025-06-23 09:20:53 +02:00
parent c370d12d03
commit 02c2516b35

View file

@ -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);