1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00
guile/module/system
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
..
base Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
repl Better REPL behavior on syntax errors in meta commands. 2024-10-25 13:35:31 +02:00
vm Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
finalizers.scm Add (system finalizers) 2025-05-02 16:03:13 +02:00
foreign-library.scm Improve DLL search strategy for load-foreign-library 2025-03-22 07:05:31 -07:00
foreign-object.scm Add (system finalizers) 2025-05-02 16:03:13 +02:00
foreign.scm Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
syntax.scm syntax-source returns a vector 2025-05-12 15:05:40 +02:00
xref.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00