mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-06 04:00:26 +02:00
Also, shunt them off to a module, and deprecate the C interface. * module/ice-9/guardians.scm: New file. * am/bootstrap.am (SOURCES): Add new file. * libguile.h: Remove guardians.h include. * libguile/Makefile.am (libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES): (DOT_X_FILES): (DOT_DOC_FILES): (modinclude_HEADERS): Remove guardians.[ch] files. * libguile/init.c (scm_i_init_guile): Remove guardians. * libguile/deprecated.h: * libguile/deprecated.c (scm_make_guardian): Deprecate. * module/ice-9/deprecated.scm: Add make-guardian shim. * module/oop/goops.scm (<guardian>): Remove class; they no longer have a tc16. * module/ice-9/popen.scm: Add guardians module. * test-suite/tests/eval.test: * test-suite/tests/fluids.test: * test-suite/tests/gc.test: * test-suite/tests/guardians.test: * test-suite/tests/threads.test: * test-suite/tests/types.test: Use the guardians module.
34 lines
1 KiB
C
34 lines
1 KiB
C
#ifndef SCM_DEPRECATED_H
|
|
#define SCM_DEPRECATED_H
|
|
|
|
/* Copyright 2003-2007,2009-2018,2020-2022,2025
|
|
Free Software Foundation, Inc.
|
|
|
|
This file is part of Guile.
|
|
|
|
Guile is free software: you can redistribute it and/or modify it
|
|
under the terms of the GNU Lesser General Public License as published
|
|
by the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Guile is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with Guile. If not, see
|
|
<https://www.gnu.org/licenses/>. */
|
|
|
|
#include "libguile/snarf.h"
|
|
|
|
#if (SCM_ENABLE_DEPRECATED == 1)
|
|
|
|
SCM_DEPRECATED SCM scm_make_guardian (void);
|
|
/* Deprecated declarations go here. */
|
|
|
|
void scm_i_init_deprecated (void);
|
|
|
|
#endif
|
|
|
|
#endif /* SCM_DEPRECATED_H */
|