1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 04:15:36 +02:00

Move scm_tc7_pointer snarfer out to foreign.h

* libguile/snarf.h:
* libguile/foreign.h (SCM_IMMUTABLE_POINTER): Move here, from snarf.h.
This commit is contained in:
Andy Wingo 2018-06-20 08:38:32 +02:00
parent d3cfabd89b
commit cedab6e285
2 changed files with 4 additions and 3 deletions

View file

@ -326,9 +326,6 @@ SCM_SNARF_INIT(scm_set_smob_apply((tag), (c_name), (req), (opt), (rest));)
(scm_t_bits) 0, \
(scm_t_bits) (sizeof (contents) - 1))
#define SCM_IMMUTABLE_POINTER(c_name, ptr) \
SCM_IMMUTABLE_CELL (c_name, scm_tc7_pointer, ptr)
#endif /* SCM_SUPPORT_STATIC_ALLOCATION */