1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 13:00:34 +02:00
guile/libguile
Ludovic Courtes 5e67dc27e3 Added support for the free function of structures.
* libguile/struct.c (struct_finalizer_trampoline): New.
  (scm_struct_gc_init): Removed.
  (scm_i_structs_to_free): Removed.
  (scm_free_structs): Removed.
  (scm_make_struct): Register a finalizer for the new struct if need be.
  (scm_struct_prehistory): Cleared.

* libguile/struct.h (scm_i_structs_to_free): Removed.

git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-33
2008-09-05 09:37:17 +02:00
..
.cvsignore
__scm.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
_scm.h merge from 1.8 branch 2006-06-17 23:41:24 +00:00
alist.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
alist.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
alloca.c
arbiters.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
arbiters.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
async.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
async.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
backtrace.c (scm_display_backtrace_with_highlights): Minor 2006-08-28 22:17:26 +00:00
backtrace.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
boolean.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
boolean.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
c-tokenize.lex
ChangeLog Changes from arch/CVS synchronization 2006-09-20 12:48:45 +00:00
ChangeLog-1996-1999
ChangeLog-2000
ChangeLog-gh
ChangeLog-scm
ChangeLog-threads
chars.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
chars.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
continuations.c Removed the mark/free functions of continuations and threads. 2008-09-05 09:33:11 +02:00
continuations.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
conv-integer.i.c
conv-uinteger.i.c
convert.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
convert.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
convert.i.c (scm_array_handle_release): New, changed all uses of 2005-01-06 18:56:34 +00:00
coop-defs.h Tell `libgc' that we're using POSIX threads. This fixes Guile on PPC. 2008-09-05 00:47:11 +02:00
coop-pthreads.c Use the SMOB API in `coop-pthreads.c' rather than low-level primitives. 2008-09-05 09:35:11 +02:00
coop-pthreads.h Tell `libgc' that we're using POSIX threads. This fixes Guile on PPC. 2008-09-05 00:47:11 +02:00
coop-threads.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
coop.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
COPYING New versions of the GPLand LGPL with the new address of the FSF. 2005-05-23 19:00:08 +00:00
cpp_cnvt.awk
cpp_err_symbols.in
cpp_errno.c
cpp_sig_symbols.in
cpp_signal.c
debug-malloc.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
debug-malloc.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
debug.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
debug.h * eval.c (sym_instead): New symbol. 2005-11-04 21:20:24 +00:00
deprecated.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
deprecated.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
deprecation.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
deprecation.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
discouraged.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
discouraged.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
dynl.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
dynl.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
dynwind.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
dynwind.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
environments.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
environments.h Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
eq.c Changes from arch/CVS synchronization 2006-06-13 07:48:42 +00:00
eq.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
error.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
error.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
eval.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
eval.h The FSF has a new address. 2005-05-23 19:57:22 +00:00
evalext.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
evalext.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
extensions.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
extensions.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
feature.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
feature.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
filesys.c merge from 1.8 branch 2006-06-17 23:15:59 +00:00
filesys.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
fluids.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
fluids.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
fports.c merge from 1.8 branch 2006-06-17 23:15:59 +00:00
fports.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
futures.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
futures.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gc-malloc.c Added scm_gc_malloc_pointerless ()', equivalent to GC_MALLOC_ATOMIC ()'. 2008-09-05 00:46:40 +02:00
gc.c Fixed use of finalizers for guardians and SMOBs (undoes patches 23-24). 2008-09-05 09:34:35 +02:00
gc.h Fixed use of finalizers for guardians and SMOBs (undoes patches 23-24). 2008-09-05 09:34:35 +02:00
gdb_interface.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gdbint.c Merge from lcourtes@laas.fr--2005-mobile 2008-09-05 00:45:58 +02:00
gdbint.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gen-scmconfig.c (SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed. 2005-03-02 19:58:26 +00:00
gen-scmconfig.h.in (SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed. 2005-03-02 19:58:26 +00:00
gettext.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_data.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_eval.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_funcs.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_init.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_io.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_list.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gh_predicates.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
goops.c The FSF has a new address. 2005-05-23 19:57:22 +00:00
goops.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gsubr.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
gsubr.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guardians.c Fixed use of finalizers for guardians and SMOBs (undoes patches 23-24). 2008-09-05 09:34:35 +02:00
guardians.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile-doc-snarf.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile-func-name-check.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile-snarf-docs.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile-snarf.awk.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile-snarf.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
guile.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
hash.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
hash.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
hashtab.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
hashtab.h procs/weaks/hashtab: Removed a bit of useless mark/free code. 2008-09-05 00:48:31 +02:00
hooks.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
hooks.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
i18n.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
i18n.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
inet_aton.c
init.c First stab at the guardian implementation. Works fine at first glance! 2008-09-05 00:47:24 +02:00
init.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
inline.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
inline.h Added support for SMOB custom mark procedures. 2008-09-05 09:33:20 +02:00
ioext.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
ioext.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
iselect.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
keywords.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
keywords.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
lang.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
lang.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
list.c (scm_list): Restore this function for use from C. 2006-02-02 21:15:48 +00:00
list.h add a copyright year for 2005 changes 2006-02-02 21:27:44 +00:00
load.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
load.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
macros.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
macros.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
Makefile.am Removed useless files; beautified `libguile/Makefile.am'. 2008-09-05 00:51:00 +02:00
mallocs.c Removed the free function from the malloc-object SMOB type. 2008-09-05 09:33:47 +02:00
mallocs.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
memmove.c
mkstemp.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
modules.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
modules.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
net_db.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
net_db.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
null-threads.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
null-threads.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
numbers.c Changes from arch/CVS synchronization 2006-07-12 08:07:27 +00:00
numbers.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
objects.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
objects.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
objprop.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
objprop.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
options.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
options.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
pairs.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
pairs.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
ports.c Fixed garbage collection of ports: basics work (no SMOBs, no guardians, no WHT). 2008-09-05 00:46:22 +02:00
ports.h merge from 1.8 branch 2006-06-17 23:15:59 +00:00
posix.c Changes from arch/CVS synchronization 2006-09-20 12:48:45 +00:00
posix.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
print.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
print.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
private-gc.h Merge from lcourtes@laas.fr--2005-mobile 2008-09-05 00:45:58 +02:00
procprop.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
procprop.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
procs.c procs/weaks/hashtab: Removed a bit of useless mark/free code. 2008-09-05 00:48:31 +02:00
procs.h procs/weaks/hashtab: Removed a bit of useless mark/free code. 2008-09-05 00:48:31 +02:00
properties.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
properties.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
pthread-threads.h Tell `libgc' that we're using POSIX threads. This fixes Guile on PPC. 2008-09-05 00:47:11 +02:00
putenv.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
quicksort.i.c * Makefile.am (libguile_la_SOURCES, DOT_X_FILES, DOT_DOC_FILES, 2005-01-02 19:16:39 +00:00
ramap.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
ramap.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
random.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
random.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
rdelim.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
rdelim.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
read.c merge from 1.8 branch 2006-06-17 23:15:59 +00:00
read.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
regex-posix.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
regex-posix.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
remaining-docs-needed
root.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
root.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
run-test
rw.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
rw.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
scmconfig.h.top merge from 1.8 branch 2006-04-17 00:05:42 +00:00
scmsigs.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
scmsigs.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
script.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
script.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
simpos.c merge from 1.8 branch 2006-06-17 23:15:59 +00:00
simpos.h merge from 1.8 branch 2006-06-17 23:15:59 +00:00
smob.c Fixed the SMOB mark procedure so that it handles free-list objects. 2008-09-05 09:34:57 +02:00
smob.h Fixed use of finalizers for guardians and SMOBs (undoes patches 23-24). 2008-09-05 09:34:35 +02:00
snarf.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
socket.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
socket.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
sort.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
sort.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
srcprop.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
srcprop.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
srfi-4.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
srfi-4.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
srfi-4.i.c (take_uvec): Make BASE pointer non-const. 2005-12-06 21:42:19 +00:00
srfi-13.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
srfi-13.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
srfi-14.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
srfi-14.h Changes from arch/CVS synchronization 2006-09-20 12:48:45 +00:00
stackchk.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
stackchk.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
stacks.c (scm_last_stack_frame): Correct docstring (returns a 2006-08-11 15:33:41 +00:00
stacks.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
stime.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
stime.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strerror.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strings.c Added scm_gc_malloc_pointerless ()', equivalent to GC_MALLOC_ATOMIC ()'. 2008-09-05 00:46:40 +02:00
strings.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strorder.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strorder.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strports.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
strports.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
struct.c Added support for the free function of structures. 2008-09-05 09:37:17 +02:00
struct.h Added support for the free function of structures. 2008-09-05 09:37:17 +02:00
symbols.c Fixed a warning in `symbols.c'. 2008-09-05 09:35:03 +02:00
symbols.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
tags.h The FSF has a new address. 2005-05-23 19:57:22 +00:00
threads.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
threads.h Added support for SMOB custom mark procedures. 2008-09-05 09:33:20 +02:00
throw.c merge from 1.8 branch 2006-06-17 23:15:59 +00:00
throw.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
unif.c Removed a lot of now-useless SMOB mark/free functions. 2008-09-05 09:34:23 +02:00
unif.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
validate.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
values.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
values.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
variable.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
variable.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
vectors.c Fixed `list->weak-vector'. 2008-09-05 00:48:01 +02:00
vectors.h Fixed `list->weak-vector'. 2008-09-05 00:48:01 +02:00
version.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
version.h.in merge from 1.8 branch 2006-04-17 00:05:42 +00:00
vports.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
vports.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
weaks.c procs/weaks/hashtab: Removed a bit of useless mark/free code. 2008-09-05 00:48:31 +02:00
weaks.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-dirent.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-dirent.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-socket.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-socket.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-uname.c merge from 1.8 branch 2006-04-17 00:05:42 +00:00
win32-uname.h merge from 1.8 branch 2006-04-17 00:05:42 +00:00