+2000-11-17 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
+ continuations.c, debug-malloc.c, debug.c, dynl.c, dynwind.c,
+ environments.c, eq.c, error.c, eval.c, evalext.c, feature.c,
+ filesys.c, fluids.c, fports.c, gc.c, goops.c, guardians.c, hash.c,
+ hashtab.c, hooks.c, ioext.c, iselect.c, keywords.c, lang.c,
+ list.c, load.c, macros.c, modules.c, net_db.c, numbers.c,
+ objects.c, objprop.c, options.c, pairs.c, ports.c, posix.c,
+ print.c, procprop.c, procs.c, properties.c, ramap.c, random.c,
+ read.c, regex-posix.c, root.c, scmsigs.c, script.c, simpos.c,
+ socket.c, sort.c, srcprop.c, stackchk.c, stacks.c, stime.c,
+ strings.c, strop.c, strorder.c, strports.c, struct.c, symbols.c,
+ tag.c, threads.c, throw.c, unif.c, variable.c, vectors.c,
+ version.c, vports.c, weaks.c: Makes sure the snarfer output
+ inclusion is disabled when the snarfer is run on the file. Thanks
+ to Lars J. Aas!
+
+ * Makefile.am: Install guile-procedures.txt in version-specific
+ directory to enable multiple installed guile versions. Suggested
+ by Karl M. Hegbloom <karlheg@debian.org, patch by Matthias Koeppe.
+
2000-11-13 Gary Houston <ghouston@arglist.com>
* fports.c: include gc.h.
rm -f $@
makeinfo --force -o $@ $< || test -f $@
-pkgdata_DATA = guile-procedures.txt
+schemelibdir = $(pkgdatadir)/$(VERSION)
+schemelib_DATA = guile-procedures.txt
## Add -MG to make the .x magic work with auto-dep code.
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
void
scm_init_alist ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/alist.x"
+#endif
}
{
scm_tc16_arbiter = scm_make_smob_type_mfpe ("arbiter", 0,
scm_markcdr, NULL, prinarb, NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/arbiters.x"
+#endif
}
/*
tc16_async = scm_make_smob_type ("async", 0);
scm_set_smob_mark (tc16_async, mark_async);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/async.x"
+#endif
}
/*
SCM f = scm_make_fluid ();
scm_the_last_stack_fluid = scm_sysintern ("the-last-stack", f);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/backtrace.x"
+#endif
}
/*
void
scm_init_boolean ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/boolean.x"
+#endif
}
void
scm_init_chars ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/chars.x"
+#endif
}
void
scm_init_continuations ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/continuations.x"
+#endif
}
void
scm_init_debug_malloc ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/debug-malloc.x"
+#endif
}
+
#endif
scm_add_feature ("debug-extensions");
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/debug.x"
+#endif
}
/*
scm_set_smob_mark (scm_tc16_dynamic_obj, mark_dynl_obj);
scm_set_smob_print (scm_tc16_dynamic_obj, print_dynl_obj);
sysdep_dynl_init ();
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/dynl.x"
+#endif
}
/*
{
tc16_guards = scm_make_smob_type_mfpe ("guards", 0,
NULL, scm_free0, printguards, NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/dynwind.x"
+#endif
}
/*
void
scm_init_environments ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/environments.x"
+#endif
}
void
scm_init_eq ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/eq.x"
+#endif
}
scm_init_error ()
{
#include "libguile/cpp_err_symbols.c"
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/error.x"
+#endif
}
scm_sym_trace = SCM_CAR (scm_sysintern ("trace", SCM_UNDEFINED));
#endif
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/eval.x"
+#endif
scm_add_feature ("delay");
}
scm_init_evalext ()
{
scm_make_synt (scm_s_set_x, scm_makmmacro, scm_m_generalized_set_x);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/evalext.x"
+#endif
}
/*
scm_sysintern ("char-code-limit", SCM_MAKINUM (SCM_CHAR_CODE_LIMIT));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/feature.x"
+#endif
}
/*
scm_sysintern ("FD_CLOEXEC", scm_long2num (FD_CLOEXEC));
#endif
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/filesys.x"
+#endif
}
/*
{
scm_tc16_fluid = scm_make_smob_type_mfpe ("fluid", 0,
NULL, NULL, print_fluid, NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/fluids.x"
+#endif
}
/*
void
scm_init_fports ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/fports.x"
+#endif
scm_sysintern ("_IOFBF", SCM_MAKINUM (_IOFBF));
scm_sysintern ("_IOLBF", SCM_MAKINUM (_IOLBF));
scm_sysintern ("_IONBF", SCM_MAKINUM (_IONBF));
scm_c_hook_add (&scm_after_gc_c_hook, mark_gc_async, NULL, 0);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/gc.x"
+#endif
}
/*
goops_rstate = scm_c_make_rstate ("GOOPS", 5);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/goops.x"
+#endif
list_of_no_method = scm_permanent_object (SCM_LIST1 (sym_no_method));
scm_c_hook_add (&scm_before_mark_c_hook, scm_guardian_gc_init, 0, 0);
scm_c_hook_add (&scm_before_sweep_c_hook, scm_guardian_zombify, 0, 0);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/guardians.x"
+#endif
}
/*
void
scm_init_hash ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/hash.x"
+#endif
}
void
scm_init_hashtab ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/hashtab.x"
+#endif
}
/*
scm_set_smob_mark (scm_tc16_hook, scm_markcdr);
scm_set_smob_print (scm_tc16_hook, print_hook);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/hooks.x"
+#endif
}
/*
{
scm_add_feature ("i/o-extensions");
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/ioext.x"
+#endif
}
timeout0.tv_usec = 0;
#endif
init_bc (0x80, 0, 0);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/iselect.x"
+#endif
}
#endif /* GUILE_ISELECT */
scm_markcdr, NULL, prin_keyword, NULL);
scm_keyword_obarray = scm_make_vector (SCM_MAKINUM (256), SCM_EOL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/keywords.x"
+#endif
}
void
scm_init_lang ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/lang.x"
+#endif
scm_make_synt ("nil-while", scm_makacro, scm_m_while);
}
void
scm_init_list ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/list.x"
+#endif
}
/*
init_build_info ();
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/load.x"
+#endif
}
/*
{
scm_tc16_macro = scm_make_smob_type_mfpe ("macro", 0,
scm_markcdr, NULL, NULL, NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/macros.x"
+#endif
}
/*
void
scm_init_modules ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/modules.x"
+#endif
module_make_local_var_x = scm_sysintern ("module-make-local-var!",
SCM_UNDEFINED);
scm_eval_closure_tag = scm_make_smob_type ("eval-closure", 0);
#endif
scm_add_feature ("net-db");
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/net_db.x"
+#endif
}
/*
scm_dblprec = scm_dblprec - 1;
}
#endif /* DBL_DIG */
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/numbers.x"
+#endif
}
/*
SCM_SET_CLASS_DESTRUCTOR (et, scm_struct_free_entity);
scm_sysintern ("<entity>", et);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/objects.x"
+#endif
}
/*
scm_init_objprop ()
{
scm_object_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/objprop.x"
+#endif
}
scm_init_options ()
{
protected_objects = scm_permanent_object (scm_cons (SCM_UNDEFINED, SCM_EOL));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/options.x"
+#endif
}
/*
for (subnr = 0; cxrs [subnr]; subnr++)
scm_make_subr(cxrs [subnr], scm_tc7_cxr, NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/pairs.x"
+#endif
}
scm_tc16_void_port = scm_make_port_type ("void", fill_input_void_port,
write_void_port);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/ports.x"
+#endif
}
/*
#endif
#include "libguile/cpp_sig_symbols.c"
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/posix.x"
+#endif
}
/*
scm_set_smob_mark (scm_tc16_port_with_ps, scm_markcdr);
scm_set_smob_print (scm_tc16_port_with_ps, print_port_with_ps);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/print.x"
+#endif
}
/*
void
scm_init_procprop ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/procprop.x"
+#endif
}
void
scm_init_procs ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/procs.x"
+#endif
}
/*
scm_init_properties ()
{
scm_properties_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/properties.x"
+#endif
}
init_raprocs (ra_asubrs);
scm_make_subr (s_array_equal_p, scm_tc7_rpsubr, scm_array_equal_p);
scm_smobs[0x0ff & (scm_tc16_array >> 8)].equalp = scm_raequal;
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/ramap.x"
+#endif
scm_add_feature (s_scm_array_for_each);
}
for (i = m >> 1; i < m; ++i)
scm_masktab[i] = m - 1;
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/random.x"
+#endif
/* Check that the assumptions about bits per bignum digit are correct. */
#if SIZEOF_INT == 4
SCM_CDRLOC (scm_sysintern ("read-hash-procedures", SCM_EOL));
scm_init_opts (scm_read_options, scm_read_opts, SCM_N_READ_OPTIONS);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/read.x"
+#endif
}
/*
scm_sysintern ("regexp/notbol", scm_long2num (REG_NOTBOL));
scm_sysintern ("regexp/noteol", scm_long2num (REG_NOTEOL));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/regex-posix.x"
+#endif
scm_add_feature ("regex");
}
scm_set_smob_mark (scm_tc16_root, mark_root);
scm_set_smob_print (scm_tc16_root, print_root);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/root.x"
+#endif
}
/*
scm_sysintern ("SA_RESTART", scm_long2num (SA_RESTART));
#endif
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/scmsigs.x"
+#endif
}
void
scm_init_script ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/script.x"
+#endif
}
/*
void
scm_init_simpos ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/simpos.x"
+#endif
}
scm_add_feature ("socket");
scm_init_addr_buffer ();
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/socket.x"
+#endif
}
void
scm_init_sort ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/sort.x"
+#endif
scm_add_feature ("sort");
}
scm_sym_breakpoint = SCM_CAR (scm_sysintern ("breakpoint", SCM_UNDEFINED));
scm_sysintern ("source-whash", scm_source_whash);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/srcprop.x"
+#endif
}
void
void
scm_init_stackchk ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/stackchk.x"
+#endif
}
/*
SCM_EOL)));
scm_set_struct_vtable_name_x (scm_stack_type,
SCM_CAR (scm_intern0 ("stack")));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/stacks.x"
+#endif
}
/*
if (!scm_my_base) scm_my_base = mytime();
scm_add_feature ("current-time");
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/stime.x"
+#endif
}
void
scm_init_strings ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/strings.x"
+#endif
}
void
scm_init_strop ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/strop.x"
+#endif
}
/*
void
scm_init_strorder ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/strorder.x"
+#endif
}
void
scm_init_strports ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/strports.x"
+#endif
}
scm_sysintern ("vtable-index-vtable", SCM_MAKINUM (scm_vtable_index_vtable));
scm_sysintern ("vtable-index-printer", SCM_MAKINUM (scm_vtable_index_printer));
scm_sysintern ("vtable-offset-user", SCM_MAKINUM (scm_vtable_offset_user));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/struct.x"
+#endif
}
/*
{
gensym_counter = 0;
gentemp_counter = 0;
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/symbols.x"
+#endif
}
/*
void
scm_init_tag ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/tag.x"
+#endif
}
scm_tc16_mutex = scm_make_smob_type ("mutex", sizeof (coop_m));
scm_tc16_condvar = scm_make_smob_type ("condition-variable", sizeof (coop_c));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/threads.x"
+#endif
/* Initialize implementation specific details of the threads support */
scm_threads_init (i);
}
NULL,
print_lazy_catch,
NULL);
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/throw.x"
+#endif
}
/*
scm_raprin1,
scm_array_equal_p);
scm_add_feature ("array");
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/unif.x"
+#endif
}
/*
scm_tc16_variable = scm_make_smob_type_mfpe ("variable", 0,
scm_markvar, NULL, prin_var, var_equal);
anonymous_variable_sym = SCM_CAR (scm_sysintern ("anonymous-variable", SCM_UNDEFINED));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/variable.x"
+#endif
}
void
scm_init_vectors ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/vectors.x"
+#endif
}
void
scm_init_version ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/version.x"
+#endif
}
/*
void
scm_init_vports ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/vports.x"
+#endif
}
/*
void
scm_init_weaks ()
{
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/weaks.x"
+#endif
}