1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 20:20:20 +02:00
guile/module/srfi
Andy Wingo 8280c8485f Move weak table implementation to Scheme
* libguile/weak-table.c:
* libguile/weak-table.h: Remove.

* libguile.h: Remove weak-table.h include.
* libguile/Makefile.am (libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES):
(DOT_X_FILES):
(DOT_DOC_FILES):
(modinclude_HEADERS): Remove weak-table.[ch].

* libguile/evalext.c:
* libguile/fluids.c:
* libguile/hash.c:
* libguile/init.c:
* libguile/print.c:
* libguile/scm.h: Remove uses of weak-table.h and free up the tc7.

* libguile/hashtab.c:
* libguile/hashtab.h: Add deprecated shims to dispatch to (ice-9
weak-tables) when working on weak tables.

* module/ice-9/weak-tables.scm: New implementation.  Embeds the hash and
equality functions in the table itself.

* module/ice-9/object-properties.scm:
* module/ice-9/poe.scm:
* module/ice-9/popen.scm:
* module/ice-9/source-properties.scm:
* module/language/cps/compile-bytecode.scm:
* module/language/ecmascript/array.scm:
* module/language/ecmascript/function.scm:
* module/oop/goops/save.scm:
* module/srfi/srfi-18.scm:
* module/srfi/srfi-69.scm:
* module/system/base/types.scm:
* module/system/base/types/internal.scm:
* module/system/foreign.scm:
* module/system/vm/assembler.scm:
* test-suite/tests/gc.test:
* test-suite/tests/hash.test:
* test-suite/tests/srfi-69.test:
* test-suite/tests/types.test:
* test-suite/tests/weaks.test: Update to use new, non-deprecated weak
tables API.
2025-05-13 14:57:31 +02:00
..
srfi-4 New function srfi-4-vector-type-size in (srfi srfi-4 gnu) 2021-12-06 14:00:03 +01:00
srfi-9
srfi-42
srfi-67
srfi-171 Add SRFI-171 to guile 2020-03-25 22:44:27 +01:00
srfi-1.scm Drop libguile srfi-1 2024-07-30 19:39:32 -05:00
srfi-2.scm
srfi-4.scm New function srfi-4-vector-type-size in (srfi srfi-4 gnu) 2021-12-06 14:00:03 +01:00
srfi-6.scm
srfi-8.scm
srfi-9.scm Remove vestigial code from srfi-9 2024-03-17 21:40:58 +01:00
srfi-10.scm Deprecate passing a non-zero size to make-module 2019-09-27 22:57:38 +02:00
srfi-11.scm srfi-11: Do not expose variables to later clauses 2020-01-12 22:18:41 +01:00
srfi-13.scm
srfi-14.scm
srfi-16.scm
srfi-17.scm
srfi-18.scm Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
srfi-19.scm srfi-19: Fix ~V converter in date->string. 2025-02-28 10:28:06 +01:00
srfi-26.scm
srfi-27.scm
srfi-28.scm Implement SRFI 28: Basic Format Strings. 2014-12-02 11:49:05 -05:00
srfi-31.scm
srfi-34.scm Re-implement `guard' 2020-01-10 21:42:26 +01:00
srfi-35.scm srfi-35: Fix expansion of 'condition' for compound conditions. 2022-10-01 18:04:16 +02:00
srfi-37.scm Fix error messages containing format strings 2024-05-06 11:51:53 +02:00
srfi-38.scm
srfi-39.scm
srfi-41.scm
srfi-42.scm
srfi-43.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
srfi-45.scm
srfi-60.scm Replace bit-count with bitvector-count 2020-04-12 22:17:22 +02:00
srfi-64.scm syntax-source returns a vector 2025-05-12 15:05:40 +02:00
srfi-67.scm
srfi-69.scm Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
srfi-71.scm Make srfi-71 visible through 'cond-expand'. 2018-08-07 12:33:25 +02:00
srfi-88.scm Improve correctness and consistency of 'eval-when' usage. 2014-01-23 10:41:22 -05:00
srfi-98.scm
srfi-111.scm Fix bug in srfi-111 box printer 2025-01-16 15:47:03 +01:00
srfi-171.scm Add SRFI-171 to guile 2020-03-25 22:44:27 +01:00