1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

* 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.
This commit is contained in:
Marius Vollmer 2000-11-17 16:25:05 +00:00
parent 6b72ac1d10
commit 8dc9439fc6
77 changed files with 175 additions and 1 deletions

View file

@ -1,3 +1,25 @@
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> 2000-11-13 Gary Houston <ghouston@arglist.com>
* fports.c: include gc.h. * fports.c: include gc.h.

View file

@ -200,7 +200,8 @@ guile-procedures.txt: guile.texi
rm -f $@ rm -f $@
makeinfo --force -o $@ $< || test -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. ## Add -MG to make the .x magic work with auto-dep code.
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)

View file

@ -406,7 +406,9 @@ SCM_DEFINE (scm_assoc_remove_x, "assoc-remove!", 2, 0, 0,
void void
scm_init_alist () scm_init_alist ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/alist.x" #include "libguile/alist.x"
#endif
} }

View file

@ -128,7 +128,9 @@ scm_init_arbiters ()
{ {
scm_tc16_arbiter = scm_make_smob_type_mfpe ("arbiter", 0, scm_tc16_arbiter = scm_make_smob_type_mfpe ("arbiter", 0,
scm_markcdr, NULL, prinarb, NULL); scm_markcdr, NULL, prinarb, NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/arbiters.x" #include "libguile/arbiters.x"
#endif
} }
/* /*

View file

@ -462,7 +462,9 @@ scm_init_async ()
tc16_async = scm_make_smob_type ("async", 0); tc16_async = scm_make_smob_type ("async", 0);
scm_set_smob_mark (tc16_async, mark_async); scm_set_smob_mark (tc16_async, mark_async);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/async.x" #include "libguile/async.x"
#endif
} }
/* /*

View file

@ -637,7 +637,9 @@ scm_init_backtrace ()
SCM f = scm_make_fluid (); SCM f = scm_make_fluid ();
scm_the_last_stack_fluid = scm_sysintern ("the-last-stack", f); scm_the_last_stack_fluid = scm_sysintern ("the-last-stack", f);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/backtrace.x" #include "libguile/backtrace.x"
#endif
} }
/* /*

View file

@ -76,7 +76,9 @@ SCM_DEFINE (scm_boolean_p, "boolean?", 1, 0, 0,
void void
scm_init_boolean () scm_init_boolean ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/boolean.x" #include "libguile/boolean.x"
#endif
} }

View file

@ -407,7 +407,9 @@ int scm_n_charnames = sizeof (scm_charnames) / sizeof (char *);
void void
scm_init_chars () scm_init_chars ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/chars.x" #include "libguile/chars.x"
#endif
} }

View file

@ -235,7 +235,9 @@ scm_call_continuation (SCM cont, SCM val)
void void
scm_init_continuations () scm_init_continuations ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/continuations.x" #include "libguile/continuations.x"
#endif
} }

View file

@ -256,5 +256,8 @@ scm_debug_malloc_prehistory ()
void void
scm_init_debug_malloc () scm_init_debug_malloc ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/debug-malloc.x" #include "libguile/debug-malloc.x"
#endif
} }

View file

@ -642,7 +642,9 @@ scm_init_debug ()
#endif #endif
scm_add_feature ("debug-extensions"); scm_add_feature ("debug-extensions");
#ifndef SCM_MAGIC_SNARFER
#include "libguile/debug.x" #include "libguile/debug.x"
#endif
} }
/* /*

View file

@ -511,7 +511,9 @@ scm_init_dynamic_linking ()
scm_set_smob_mark (scm_tc16_dynamic_obj, mark_dynl_obj); scm_set_smob_mark (scm_tc16_dynamic_obj, mark_dynl_obj);
scm_set_smob_print (scm_tc16_dynamic_obj, print_dynl_obj); scm_set_smob_print (scm_tc16_dynamic_obj, print_dynl_obj);
sysdep_dynl_init (); sysdep_dynl_init ();
#ifndef SCM_MAGIC_SNARFER
#include "libguile/dynl.x" #include "libguile/dynl.x"
#endif
} }
/* /*

View file

@ -273,7 +273,9 @@ scm_init_dynwind ()
{ {
tc16_guards = scm_make_smob_type_mfpe ("guards", 0, tc16_guards = scm_make_smob_type_mfpe ("guards", 0,
NULL, scm_free0, printguards, NULL); NULL, scm_free0, printguards, NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/dynwind.x" #include "libguile/dynwind.x"
#endif
} }
/* /*

View file

@ -2317,7 +2317,9 @@ scm_environments_prehistory ()
void void
scm_init_environments () scm_init_environments ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/environments.x" #include "libguile/environments.x"
#endif
} }

View file

@ -205,7 +205,9 @@ SCM_DEFINE1 (scm_equal_p, "equal?", scm_tc7_rpsubr,
void void
scm_init_eq () scm_init_eq ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/eq.x" #include "libguile/eq.x"
#endif
} }

View file

@ -362,7 +362,9 @@ void
scm_init_error () scm_init_error ()
{ {
#include "libguile/cpp_err_symbols.c" #include "libguile/cpp_err_symbols.c"
#ifndef SCM_MAGIC_SNARFER
#include "libguile/error.x" #include "libguile/error.x"
#endif
} }

View file

@ -3983,7 +3983,9 @@ scm_init_eval ()
scm_sym_trace = SCM_CAR (scm_sysintern ("trace", SCM_UNDEFINED)); scm_sym_trace = SCM_CAR (scm_sysintern ("trace", SCM_UNDEFINED));
#endif #endif
#ifndef SCM_MAGIC_SNARFER
#include "libguile/eval.x" #include "libguile/eval.x"
#endif
scm_add_feature ("delay"); scm_add_feature ("delay");
} }

View file

@ -148,7 +148,9 @@ void
scm_init_evalext () scm_init_evalext ()
{ {
scm_make_synt (scm_s_set_x, scm_makmmacro, scm_m_generalized_set_x); scm_make_synt (scm_s_set_x, scm_makmmacro, scm_m_generalized_set_x);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/evalext.x" #include "libguile/evalext.x"
#endif
} }
/* /*

View file

@ -129,7 +129,9 @@ scm_init_feature()
scm_sysintern ("char-code-limit", SCM_MAKINUM (SCM_CHAR_CODE_LIMIT)); scm_sysintern ("char-code-limit", SCM_MAKINUM (SCM_CHAR_CODE_LIMIT));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/feature.x" #include "libguile/feature.x"
#endif
} }
/* /*

View file

@ -1478,7 +1478,9 @@ scm_sysintern ("F_SETOWN", scm_long2num (F_SETOWN));
scm_sysintern ("FD_CLOEXEC", scm_long2num (FD_CLOEXEC)); scm_sysintern ("FD_CLOEXEC", scm_long2num (FD_CLOEXEC));
#endif #endif
#ifndef SCM_MAGIC_SNARFER
#include "libguile/filesys.x" #include "libguile/filesys.x"
#endif
} }
/* /*

View file

@ -260,7 +260,9 @@ scm_init_fluids ()
{ {
scm_tc16_fluid = scm_make_smob_type_mfpe ("fluid", 0, scm_tc16_fluid = scm_make_smob_type_mfpe ("fluid", 0,
NULL, NULL, print_fluid, NULL); NULL, NULL, print_fluid, NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/fluids.x" #include "libguile/fluids.x"
#endif
} }
/* /*

View file

@ -745,7 +745,9 @@ scm_make_fptob ()
void void
scm_init_fports () scm_init_fports ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/fports.x" #include "libguile/fports.x"
#endif
scm_sysintern ("_IOFBF", SCM_MAKINUM (_IOFBF)); scm_sysintern ("_IOFBF", SCM_MAKINUM (_IOFBF));
scm_sysintern ("_IOLBF", SCM_MAKINUM (_IOLBF)); scm_sysintern ("_IOLBF", SCM_MAKINUM (_IOLBF));
scm_sysintern ("_IONBF", SCM_MAKINUM (_IONBF)); scm_sysintern ("_IONBF", SCM_MAKINUM (_IONBF));

View file

@ -2590,7 +2590,9 @@ scm_init_gc ()
scm_c_hook_add (&scm_after_gc_c_hook, mark_gc_async, NULL, 0); scm_c_hook_add (&scm_after_gc_c_hook, mark_gc_async, NULL, 0);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/gc.x" #include "libguile/gc.x"
#endif
} }
/* /*

View file

@ -2718,7 +2718,9 @@ scm_init_goops (void)
goops_rstate = scm_c_make_rstate ("GOOPS", 5); goops_rstate = scm_c_make_rstate ("GOOPS", 5);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/goops.x" #include "libguile/goops.x"
#endif
list_of_no_method = scm_permanent_object (SCM_LIST1 (sym_no_method)); list_of_no_method = scm_permanent_object (SCM_LIST1 (sym_no_method));

View file

@ -334,7 +334,9 @@ scm_init_guardian()
scm_c_hook_add (&scm_before_mark_c_hook, scm_guardian_gc_init, 0, 0); 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); scm_c_hook_add (&scm_before_sweep_c_hook, scm_guardian_zombify, 0, 0);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/guardians.x" #include "libguile/guardians.x"
#endif
} }
/* /*

View file

@ -252,7 +252,9 @@ SCM_DEFINE (scm_hash, "hash", 2, 0, 0,
void void
scm_init_hash () scm_init_hash ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/hash.x" #include "libguile/hash.x"
#endif
} }

View file

@ -558,7 +558,9 @@ scm_internal_hash_fold (SCM (*fn) (), void *closure, SCM init, SCM table)
void void
scm_init_hashtab () scm_init_hashtab ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/hashtab.x" #include "libguile/hashtab.x"
#endif
} }
/* /*

View file

@ -354,7 +354,9 @@ scm_init_hooks ()
scm_set_smob_mark (scm_tc16_hook, scm_markcdr); scm_set_smob_mark (scm_tc16_hook, scm_markcdr);
scm_set_smob_print (scm_tc16_hook, print_hook); scm_set_smob_print (scm_tc16_hook, print_hook);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/hooks.x" #include "libguile/hooks.x"
#endif
} }
/* /*

View file

@ -562,7 +562,9 @@ scm_init_ioext ()
{ {
scm_add_feature ("i/o-extensions"); scm_add_feature ("i/o-extensions");
#ifndef SCM_MAGIC_SNARFER
#include "libguile/ioext.x" #include "libguile/ioext.x"
#endif
} }

View file

@ -627,7 +627,9 @@ scm_init_iselect ()
timeout0.tv_usec = 0; timeout0.tv_usec = 0;
#endif #endif
init_bc (0x80, 0, 0); init_bc (0x80, 0, 0);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/iselect.x" #include "libguile/iselect.x"
#endif
} }
#endif /* GUILE_ISELECT */ #endif /* GUILE_ISELECT */

View file

@ -134,7 +134,9 @@ scm_init_keywords ()
scm_markcdr, NULL, prin_keyword, NULL); scm_markcdr, NULL, prin_keyword, NULL);
scm_keyword_obarray = scm_make_vector (SCM_MAKINUM (256), SCM_EOL); scm_keyword_obarray = scm_make_vector (SCM_MAKINUM (256), SCM_EOL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/keywords.x" #include "libguile/keywords.x"
#endif
} }

View file

@ -150,7 +150,9 @@ SCM_DEFINE1 (scm_nil_eq, "nil-eq", scm_tc7_rpsubr,
void void
scm_init_lang () scm_init_lang ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/lang.x" #include "libguile/lang.x"
#endif
scm_make_synt ("nil-while", scm_makacro, scm_m_while); scm_make_synt ("nil-while", scm_makacro, scm_m_while);
} }

View file

@ -827,7 +827,9 @@ SCM_DEFINE (scm_delete1_x, "delete1!", 2, 0, 0,
void void
scm_init_list () scm_init_list ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/list.x" #include "libguile/list.x"
#endif
} }
/* /*

View file

@ -517,7 +517,9 @@ scm_init_load ()
init_build_info (); init_build_info ();
#ifndef SCM_MAGIC_SNARFER
#include "libguile/load.x" #include "libguile/load.x"
#endif
} }
/* /*

View file

@ -181,7 +181,9 @@ scm_init_macros ()
{ {
scm_tc16_macro = scm_make_smob_type_mfpe ("macro", 0, scm_tc16_macro = scm_make_smob_type_mfpe ("macro", 0,
scm_markcdr, NULL, NULL, NULL); scm_markcdr, NULL, NULL, NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/macros.x" #include "libguile/macros.x"
#endif
} }
/* /*

View file

@ -269,7 +269,9 @@ SCM_DEFINE (scm_standard_eval_closure, "standard-eval-closure", 1, 0, 0,
void void
scm_init_modules () scm_init_modules ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/modules.x" #include "libguile/modules.x"
#endif
module_make_local_var_x = scm_sysintern ("module-make-local-var!", module_make_local_var_x = scm_sysintern ("module-make-local-var!",
SCM_UNDEFINED); SCM_UNDEFINED);
scm_eval_closure_tag = scm_make_smob_type ("eval-closure", 0); scm_eval_closure_tag = scm_make_smob_type ("eval-closure", 0);

View file

@ -569,7 +569,9 @@ scm_init_net_db ()
#endif #endif
scm_add_feature ("net-db"); scm_add_feature ("net-db");
#ifndef SCM_MAGIC_SNARFER
#include "libguile/net_db.x" #include "libguile/net_db.x"
#endif
} }
/* /*

View file

@ -4374,7 +4374,9 @@ scm_init_numbers ()
scm_dblprec = scm_dblprec - 1; scm_dblprec = scm_dblprec - 1;
} }
#endif /* DBL_DIG */ #endif /* DBL_DIG */
#ifndef SCM_MAGIC_SNARFER
#include "libguile/numbers.x" #include "libguile/numbers.x"
#endif
} }
/* /*

View file

@ -484,7 +484,9 @@ scm_init_objects ()
SCM_SET_CLASS_DESTRUCTOR (et, scm_struct_free_entity); SCM_SET_CLASS_DESTRUCTOR (et, scm_struct_free_entity);
scm_sysintern ("<entity>", et); scm_sysintern ("<entity>", et);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/objects.x" #include "libguile/objects.x"
#endif
} }
/* /*

View file

@ -121,7 +121,9 @@ void
scm_init_objprop () scm_init_objprop ()
{ {
scm_object_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511)); scm_object_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/objprop.x" #include "libguile/objprop.x"
#endif
} }

View file

@ -233,7 +233,9 @@ void
scm_init_options () scm_init_options ()
{ {
protected_objects = scm_permanent_object (scm_cons (SCM_UNDEFINED, SCM_EOL)); protected_objects = scm_permanent_object (scm_cons (SCM_UNDEFINED, SCM_EOL));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/options.x" #include "libguile/options.x"
#endif
} }
/* /*

View file

@ -171,7 +171,9 @@ scm_init_pairs ()
for (subnr = 0; cxrs [subnr]; subnr++) for (subnr = 0; cxrs [subnr]; subnr++)
scm_make_subr(cxrs [subnr], scm_tc7_cxr, NULL); scm_make_subr(cxrs [subnr], scm_tc7_cxr, NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/pairs.x" #include "libguile/pairs.x"
#endif
} }

View file

@ -1441,7 +1441,9 @@ scm_init_ports ()
scm_tc16_void_port = scm_make_port_type ("void", fill_input_void_port, scm_tc16_void_port = scm_make_port_type ("void", fill_input_void_port,
write_void_port); write_void_port);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/ports.x" #include "libguile/ports.x"
#endif
} }
/* /*

View file

@ -1314,7 +1314,9 @@ scm_sysintern ("PIPE_BUF", scm_long2num (PIPE_BUF));
#endif #endif
#include "libguile/cpp_sig_symbols.c" #include "libguile/cpp_sig_symbols.c"
#ifndef SCM_MAGIC_SNARFER
#include "libguile/posix.x" #include "libguile/posix.x"
#endif
} }
/* /*

View file

@ -1149,7 +1149,9 @@ scm_init_print ()
scm_set_smob_mark (scm_tc16_port_with_ps, scm_markcdr); scm_set_smob_mark (scm_tc16_port_with_ps, scm_markcdr);
scm_set_smob_print (scm_tc16_port_with_ps, print_port_with_ps); scm_set_smob_print (scm_tc16_port_with_ps, print_port_with_ps);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/print.x" #include "libguile/print.x"
#endif
} }
/* /*

View file

@ -247,7 +247,9 @@ SCM_DEFINE (scm_set_procedure_property_x, "set-procedure-property!", 3, 0, 0,
void void
scm_init_procprop () scm_init_procprop ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/procprop.x" #include "libguile/procprop.x"
#endif
} }

View file

@ -390,7 +390,9 @@ scm_init_subr_table ()
void void
scm_init_procs () scm_init_procs ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/procs.x" #include "libguile/procs.x"
#endif
} }
/* /*

View file

@ -145,7 +145,9 @@ void
scm_init_properties () scm_init_properties ()
{ {
scm_properties_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511)); scm_properties_whash = scm_make_weak_key_hash_table (SCM_MAKINUM (511));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/properties.x" #include "libguile/properties.x"
#endif
} }

View file

@ -2049,7 +2049,9 @@ scm_init_ramap ()
init_raprocs (ra_asubrs); init_raprocs (ra_asubrs);
scm_make_subr (s_array_equal_p, scm_tc7_rpsubr, scm_array_equal_p); scm_make_subr (s_array_equal_p, scm_tc7_rpsubr, scm_array_equal_p);
scm_smobs[0x0ff & (scm_tc16_array >> 8)].equalp = scm_raequal; scm_smobs[0x0ff & (scm_tc16_array >> 8)].equalp = scm_raequal;
#ifndef SCM_MAGIC_SNARFER
#include "libguile/ramap.x" #include "libguile/ramap.x"
#endif
scm_add_feature (s_scm_array_for_each); scm_add_feature (s_scm_array_for_each);
} }

View file

@ -584,7 +584,9 @@ scm_init_random ()
for (i = m >> 1; i < m; ++i) for (i = m >> 1; i < m; ++i)
scm_masktab[i] = m - 1; scm_masktab[i] = m - 1;
#ifndef SCM_MAGIC_SNARFER
#include "libguile/random.x" #include "libguile/random.x"
#endif
/* Check that the assumptions about bits per bignum digit are correct. */ /* Check that the assumptions about bits per bignum digit are correct. */
#if SIZEOF_INT == 4 #if SIZEOF_INT == 4

View file

@ -806,7 +806,9 @@ scm_init_read ()
SCM_CDRLOC (scm_sysintern ("read-hash-procedures", SCM_EOL)); SCM_CDRLOC (scm_sysintern ("read-hash-procedures", SCM_EOL));
scm_init_opts (scm_read_options, scm_read_opts, SCM_N_READ_OPTIONS); scm_init_opts (scm_read_options, scm_read_opts, SCM_N_READ_OPTIONS);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/read.x" #include "libguile/read.x"
#endif
} }
/* /*

View file

@ -293,7 +293,9 @@ scm_init_regex_posix ()
scm_sysintern ("regexp/notbol", scm_long2num (REG_NOTBOL)); scm_sysintern ("regexp/notbol", scm_long2num (REG_NOTBOL));
scm_sysintern ("regexp/noteol", scm_long2num (REG_NOTEOL)); scm_sysintern ("regexp/noteol", scm_long2num (REG_NOTEOL));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/regex-posix.x" #include "libguile/regex-posix.x"
#endif
scm_add_feature ("regex"); scm_add_feature ("regex");
} }

View file

@ -443,7 +443,9 @@ scm_init_root ()
scm_set_smob_mark (scm_tc16_root, mark_root); scm_set_smob_mark (scm_tc16_root, mark_root);
scm_set_smob_print (scm_tc16_root, print_root); scm_set_smob_print (scm_tc16_root, print_root);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/root.x" #include "libguile/root.x"
#endif
} }
/* /*

View file

@ -543,7 +543,9 @@ scm_init_scmsigs ()
scm_sysintern ("SA_RESTART", scm_long2num (SA_RESTART)); scm_sysintern ("SA_RESTART", scm_long2num (SA_RESTART));
#endif #endif
#ifndef SCM_MAGIC_SNARFER
#include "libguile/scmsigs.x" #include "libguile/scmsigs.x"
#endif
} }

View file

@ -652,7 +652,9 @@ scm_shell (int argc, char **argv)
void void
scm_init_script () scm_init_script ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/script.x" #include "libguile/script.x"
#endif
} }
/* /*

View file

@ -133,7 +133,9 @@ SCM_DEFINE (scm_primitive_exit, "primitive-exit", 0, 1, 0,
void void
scm_init_simpos () scm_init_simpos ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/simpos.x" #include "libguile/simpos.x"
#endif
} }

View file

@ -976,7 +976,9 @@ scm_init_socket ()
scm_add_feature ("socket"); scm_add_feature ("socket");
scm_init_addr_buffer (); scm_init_addr_buffer ();
#ifndef SCM_MAGIC_SNARFER
#include "libguile/socket.x" #include "libguile/socket.x"
#endif
} }

View file

@ -924,7 +924,9 @@ SCM_DEFINE (scm_sort_list, "sort-list", 2, 0, 0,
void void
scm_init_sort () scm_init_sort ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/sort.x" #include "libguile/sort.x"
#endif
scm_add_feature ("sort"); scm_add_feature ("sort");
} }

View file

@ -334,7 +334,9 @@ scm_init_srcprop ()
scm_sym_breakpoint = SCM_CAR (scm_sysintern ("breakpoint", SCM_UNDEFINED)); scm_sym_breakpoint = SCM_CAR (scm_sysintern ("breakpoint", SCM_UNDEFINED));
scm_sysintern ("source-whash", scm_source_whash); scm_sysintern ("source-whash", scm_source_whash);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/srcprop.x" #include "libguile/srcprop.x"
#endif
} }
void void

View file

@ -104,7 +104,9 @@ scm_stack_report ()
void void
scm_init_stackchk () scm_init_stackchk ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/stackchk.x" #include "libguile/stackchk.x"
#endif
} }
/* /*

View file

@ -743,7 +743,9 @@ scm_init_stacks ()
SCM_EOL))); SCM_EOL)));
scm_set_struct_vtable_name_x (scm_stack_type, scm_set_struct_vtable_name_x (scm_stack_type,
SCM_CAR (scm_intern0 ("stack"))); SCM_CAR (scm_intern0 ("stack")));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/stacks.x" #include "libguile/stacks.x"
#endif
} }
/* /*

View file

@ -712,7 +712,9 @@ scm_init_stime()
if (!scm_my_base) scm_my_base = mytime(); if (!scm_my_base) scm_my_base = mytime();
scm_add_feature ("current-time"); scm_add_feature ("current-time");
#ifndef SCM_MAGIC_SNARFER
#include "libguile/stime.x" #include "libguile/stime.x"
#endif
} }

View file

@ -392,7 +392,9 @@ SCM_DEFINE (scm_make_shared_substring, "make-shared-substring", 1, 2, 0,
void void
scm_init_strings () scm_init_strings ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/strings.x" #include "libguile/strings.x"
#endif
} }

View file

@ -477,7 +477,9 @@ SCM_DEFINE (scm_string_ci_to_symbol, "string-ci->symbol", 1, 0, 0,
void void
scm_init_strop () scm_init_strop ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/strop.x" #include "libguile/strop.x"
#endif
} }
/* /*

View file

@ -256,7 +256,9 @@ SCM_DEFINE1 (scm_string_ci_geq_p, "string-ci>=?", scm_tc7_rpsubr,
void void
scm_init_strorder () scm_init_strorder ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/strorder.x" #include "libguile/strorder.x"
#endif
} }

View file

@ -432,7 +432,9 @@ scm_make_stptob ()
void void
scm_init_strports () scm_init_strports ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/strports.x" #include "libguile/strports.x"
#endif
} }

View file

@ -825,7 +825,9 @@ scm_init_struct ()
scm_sysintern ("vtable-index-vtable", SCM_MAKINUM (scm_vtable_index_vtable)); 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-index-printer", SCM_MAKINUM (scm_vtable_index_printer));
scm_sysintern ("vtable-offset-user", SCM_MAKINUM (scm_vtable_offset_user)); scm_sysintern ("vtable-offset-user", SCM_MAKINUM (scm_vtable_offset_user));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/struct.x" #include "libguile/struct.x"
#endif
} }
/* /*

View file

@ -908,7 +908,9 @@ scm_init_symbols ()
{ {
gensym_counter = 0; gensym_counter = 0;
gentemp_counter = 0; gentemp_counter = 0;
#ifndef SCM_MAGIC_SNARFER
#include "libguile/symbols.x" #include "libguile/symbols.x"
#endif
} }
/* /*

View file

@ -218,7 +218,9 @@ SCM_DEFINE (scm_tag, "tag", 1, 0, 0,
void void
scm_init_tag () scm_init_tag ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/tag.x" #include "libguile/tag.x"
#endif
} }

View file

@ -146,7 +146,9 @@ scm_init_threads (SCM_STACKITEM *i)
scm_tc16_mutex = scm_make_smob_type ("mutex", sizeof (coop_m)); scm_tc16_mutex = scm_make_smob_type ("mutex", sizeof (coop_m));
scm_tc16_condvar = scm_make_smob_type ("condition-variable", sizeof (coop_c)); scm_tc16_condvar = scm_make_smob_type ("condition-variable", sizeof (coop_c));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/threads.x" #include "libguile/threads.x"
#endif
/* Initialize implementation specific details of the threads support */ /* Initialize implementation specific details of the threads support */
scm_threads_init (i); scm_threads_init (i);
} }

View file

@ -706,7 +706,9 @@ scm_init_throw ()
NULL, NULL,
print_lazy_catch, print_lazy_catch,
NULL); NULL);
#ifndef SCM_MAGIC_SNARFER
#include "libguile/throw.x" #include "libguile/throw.x"
#endif
} }
/* /*

View file

@ -2557,7 +2557,9 @@ scm_init_unif ()
scm_raprin1, scm_raprin1,
scm_array_equal_p); scm_array_equal_p);
scm_add_feature ("array"); scm_add_feature ("array");
#ifndef SCM_MAGIC_SNARFER
#include "libguile/unif.x" #include "libguile/unif.x"
#endif
} }
/* /*

View file

@ -235,7 +235,9 @@ scm_init_variable ()
scm_tc16_variable = scm_make_smob_type_mfpe ("variable", 0, scm_tc16_variable = scm_make_smob_type_mfpe ("variable", 0,
scm_markvar, NULL, prin_var, var_equal); scm_markvar, NULL, prin_var, var_equal);
anonymous_variable_sym = SCM_CAR (scm_sysintern ("anonymous-variable", SCM_UNDEFINED)); anonymous_variable_sym = SCM_CAR (scm_sysintern ("anonymous-variable", SCM_UNDEFINED));
#ifndef SCM_MAGIC_SNARFER
#include "libguile/variable.x" #include "libguile/variable.x"
#endif
} }

View file

@ -407,7 +407,9 @@ SCM_DEFINE (scm_vector_move_right_x, "vector-move-right!", 5, 0, 0,
void void
scm_init_vectors () scm_init_vectors ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/vectors.x" #include "libguile/vectors.x"
#endif
} }

View file

@ -100,7 +100,9 @@ SCM_DEFINE (scm_version, "version", 0, 0, 0,
void void
scm_init_version () scm_init_version ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/version.x" #include "libguile/version.x"
#endif
} }
/* /*

View file

@ -211,7 +211,9 @@ scm_make_sfptob ()
void void
scm_init_vports () scm_init_vports ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/vports.x" #include "libguile/vports.x"
#endif
} }
/* /*

View file

@ -327,7 +327,9 @@ scm_weaks_prehistory ()
void void
scm_init_weaks () scm_init_weaks ()
{ {
#ifndef SCM_MAGIC_SNARFER
#include "libguile/weaks.x" #include "libguile/weaks.x"
#endif
} }