1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-07 04:30:18 +02:00

Move make-object-property out to a module

This will allow for weak tables to be implemented partly in Scheme.

* module/ice-9/object-properties.scm: New file.

* am/bootstrap.am (SOURCES): Add new file.

* module/ice-9/boot-9.scm:
* module/ice-9/deprecated.scm (make-object-property*): Deprecate
make-object-property in default env and add a shim.

* module/ice-9/buffered-input.scm (ice-9):
* module/language/elisp/boot.el (plist-function):
* module/scripts/frisk.scm (scripts):
* module/web/http.scm (web): Adapt users to import the new module.
This commit is contained in:
Andy Wingo 2025-05-06 11:35:40 +02:00
parent 1f96d1bf4b
commit 3a9c0939a0
8 changed files with 67 additions and 35 deletions

View file

@ -1,6 +1,6 @@
;;; frisk --- Grok the module interfaces of a body of files
;; Copyright (C) 2002, 2006, 2010, 2011, 2020 Free Software Foundation, Inc.
;; Copyright (C) 2002, 2006, 2010, 2011, 2020, 2025 Free Software Foundation, Inc.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
@ -97,6 +97,7 @@
(define-module (scripts frisk)
#:use-module (ice-9 getopt-long)
#:use-module (ice-9 object-properties)
#:use-module ((srfi srfi-1) :select (filter remove))
#:export (frisk
make-frisker