1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-06 17:40:29 +02:00
guile/module
Andy Wingo ccaff3da39 Allocate a static tc16 for random states
* libguile/random.h (scm_t_rstate): Put a tag word in the beginning.
(scm_is_random_state, scm_to_random_state, scm_from_random_state): New
helpers.
(SCM_RSTATEP, SCM_RSTATE): Use the new helpers.
(scm_masktab): Make private.
* libguile/random.c: Adapt random states to not be a smob.
* libguile/eq.c:
* libguile/print.c:
* libguile/scm.h:
* module/oop/goops.scm: Add new random-state cases.  Fix a number of
classes for other types that were recently changed to not be smobs.
2025-06-17 10:45:27 +02:00
..
ice-9 Move R5RS promises implementation to Scheme 2025-06-17 09:41:33 +02:00
language Move R5RS promises implementation to Scheme 2025-06-17 09:41:33 +02:00
oop Allocate a static tc16 for random states 2025-06-17 10:45:27 +02:00
rnrs Move R5RS promises implementation to Scheme 2025-06-17 09:41:33 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Move implementation of hooks to Scheme module 2025-06-16 13:11:28 +02:00
srfi Move char-set-cursor implementation to Scheme 2025-06-13 11:13:54 +02:00
sxml Deprecate srfi-14 in default environment 2025-06-13 09:03:20 +02:00
system Move implementation of hooks to Scheme module 2025-06-16 13:11:28 +02:00
texinfo Deprecate srfi-14 in default environment 2025-06-13 09:03:20 +02:00
web Deprecate srfi-14 in default environment 2025-06-13 09:03:20 +02:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Remove all deprecated code from Scheme files 2025-05-05 12:33:37 +02:00
statprof.scm Replace after-gc-hook with {add,remove}-after-gc-callback! 2025-06-16 11:36:07 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00