diff options
Diffstat (limited to 'libguile/guardians.h')
-rw-r--r-- | libguile/guardians.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libguile/guardians.h b/libguile/guardians.h new file mode 100644 index 000000000..7a081bd5c --- /dev/null +++ b/libguile/guardians.h @@ -0,0 +1,35 @@ +#ifndef SCM_GUARDIANS_H +#define SCM_GUARDIANS_H + +/* Copyright 1998,2000-2001,2006,2008,2018 + 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/scm.h" + +SCM_API SCM scm_make_guardian (void); + +SCM_INTERNAL void scm_i_init_guardians_for_gc (void); +SCM_INTERNAL void scm_i_identify_inaccessible_guardeds (void); +SCM_INTERNAL int scm_i_mark_inaccessible_guardeds (void); + +SCM_INTERNAL void scm_init_guardians (void); + +#endif /* SCM_GUARDIANS_H */ |