Mikael Djurfeldt
9a15c164c9
*** empty log message ***
1996-09-12 23:44:46 +00:00
Mikael Djurfeldt
a25840f95d
* error.c (err_head): scm_iprin1 --> scm_prin1
1996-09-12 23:44:21 +00:00
Mikael Djurfeldt
c88edfaf17
* gscm.c (gscm_portprint_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:44:12 +00:00
Mikael Djurfeldt
439791ec7b
* gscm.h (gscm_print_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:44:00 +00:00
Mikael Djurfeldt
a51ea417ba
* print.c: Added code for detection of circular references during
...
printing. (init_ref_stack, grow_ref_stack): New functions. Added
a hook for printing of closures (accessible via print options).
This leads to a split of calls to scm_iprin1 into two classes:
elementary print operations (e. g. the code which prints a smob)
still use scm_iprin1 while top level calls (like scm_display) use
scm_prin1. scm_prin1 begins by clearing the data structure used
to record reference information.
1996-09-12 23:43:47 +00:00
Mikael Djurfeldt
864f03aba4
* print.h: Added declarations of scm_prin1 and scm_prlist.
1996-09-12 23:43:34 +00:00
Mikael Djurfeldt
8781806909
* strports.c (scm_strprint_obj): scm_iprin1 --> scm_prin1
1996-09-12 23:43:18 +00:00
Mikael Djurfeldt
ee34012038
* debug.c: Adjusted header comment.
1996-09-12 23:39:37 +00:00
Mikael Djurfeldt
c6c790ed69
* tags.h: Typo.
1996-09-12 23:39:23 +00:00
Jim Blandy
1de1828496
.
1996-09-11 22:56:24 +00:00
Jim Blandy
dffa93b1b2
Doc fix.
1996-09-11 22:55:24 +00:00
Mikael Djurfeldt
7dc4b37a68
*** empty log message ***
1996-09-11 22:05:14 +00:00
Mikael Djurfeldt
380b6b4c32
* gdbint.c (gdb_read): Now possible to run during GC.
...
(unmark_port, remark_port): New functions.
1996-09-11 22:04:45 +00:00
Mikael Djurfeldt
85ab994756
* read.c (scm_grow_tok_buf): Use scm_vector_set_length_x instead
...
of allocating a new string object. Also, increase size by
the factor 2 instead of 1.5.
1996-09-11 22:04:13 +00:00
Mikael Djurfeldt
836669b8eb
* symbols.h (SCM_SETLENGTH): Use SCM_SETCAR.
1996-09-11 22:03:44 +00:00
Jim Blandy
d92b2b8972
*** empty log message ***
1996-09-11 20:30:27 +00:00
Jim Blandy
5e840c2e1a
* numbers.h: Repeated declarations removed.
...
* ports.h (scm_close_all_ports_except): Declaration for the
function defined in ports.c added.
* posix.h: Missing declarations added.
* procs.h (scm_make_subr_opt): Missing declaration added.
* socket.h (scm_sys_gethost): Missing declaration added.
* socket.h: Redundant declarations removed (they are in fdsocket.h).
* srcprop.h (scm_set_source_property_x, scm_finish_srcprop):
Missing declarations added.
* stime.h (scm_get_internal_real_time): Repeated declarations removed.
* struct.c: Uninitialized variable `SCM answer' may be used.
* unif.c (l2ra): Declaration prototype.
* unif.c (scm_array_equal_p): Dummy definition removed (it is
defined in ramap.c).
* unif.h (scm_raprin1, scm_istr2bve, scm_array_equal_p):
Redundant declarations removed (they are in ramap.h).
* variable.h (scm_make_udvariable,
scm_make_undefined_variable): Declaration corrected to
correspond variable.c.
* vectors.h (scm_vector_move_left_x, scm_vector_move_right_x):
Missing declarations added.
1996-09-11 20:29:44 +00:00
Jim Blandy
3a2425b944
* numbers.c (scm_two_doubles): Changed from extern to static
...
(is used only within numbers.c).
1996-09-11 20:28:41 +00:00
Jim Blandy
cb2326360a
* list.h (scm_list_head): Missing prototype for function in
...
list.c added.
1996-09-11 20:28:23 +00:00
Jim Blandy
c828e6ad2b
* ioext.h: (scm_sys_isatty_p): Typo.
1996-09-11 20:28:10 +00:00
Jim Blandy
3d40d7b66a
* init.c: Uninitialized `SCM last' may be used.
1996-09-11 20:27:47 +00:00
Jim Blandy
47ce0f920e
* genio.c: Possible typos str_data -> wstr_data. ???
...
* genio.c: Possibly unintended shadowing of local variable
`int c' (gotos out of scope of inner `c'). ???
1996-09-11 20:27:32 +00:00
Jim Blandy
f1cf98fea1
* gc.h (scm_object_addr, scm_unhash_name): Missing
...
declarations of functions defined in gc.c added.
1996-09-11 20:27:02 +00:00
Jim Blandy
657c49b3f3
* filesys.c: Possibly uninitialized variable rv.
1996-09-11 20:26:10 +00:00
Jim Blandy
c01e049b10
* eval.h (scm_eval_args, scm_deval_args, scm_m_undefine):
...
Missing declarations to functions in eval.c added.
1996-09-11 20:25:44 +00:00
Jim Blandy
4ad6f70593
* debug.h: Missing declarations of functions in debug.c added
...
(lots).
1996-09-11 20:25:28 +00:00
Jim Blandy
bba4bfdbda
* debug.c (scm_single_step, scm_memoized, scm_lookup_soft):
...
Definition typos corrected.
1996-09-11 20:25:13 +00:00
Jim Blandy
e95efac2fb
* continuations.c (scm_dynthrow): Redundant declaration removed.
1996-09-11 20:24:50 +00:00
Jim Blandy
f899144940
* async.h (scm_async_clock): Redundant declaration removed.
1996-09-11 20:24:38 +00:00
Jim Blandy
ffa19a75a3
* async.c: Calls to scm_sysintern corrected.
...
* async.c (scm_async_clock): Redundant declaration removed.
1996-09-11 20:23:41 +00:00
Jim Blandy
c01fdefe6e
* _scm.h (SCM_PROC): Extraneous semicolon (outside functions)
...
removed.
1996-09-11 20:23:30 +00:00
Jim Blandy
72713b2fd7
* __scm.h (SCM_P): Corrected to run under traditional C.
1996-09-11 20:22:58 +00:00
Jim Blandy
21dc7b4726
*** empty log message ***
1996-09-11 19:56:41 +00:00
Jim Blandy
6f4d0b6811
* Makefile.in (distclean): Don't forget to delete fd.h.
1996-09-11 19:40:38 +00:00
Jim Blandy
30d14d5598
.
1996-09-10 22:01:48 +00:00
Jim Blandy
986136ced6
* fd.h.in, tags.h: Trivial cleanups.
1996-09-10 22:01:36 +00:00
Jim Blandy
4c11c88530
.
1996-09-10 20:01:57 +00:00
Jim Blandy
28e642b521
* marksweep.c, marksweep.h: Deleted; marksweep.c was empty, and
...
marksweep.h just declared functions from gc.c.
* gc.h, libguile.h: Don't #include "marksweep.h".
* Makefile.in (libobjs, inner_h_files, c_files, gen_c_files): Omit
marksweep.o, marksweep.h, marksweep.c, and marksweep.x. Other
dependencies updated.
* libguile.h: Don't #include "files.h"; it's been deleted.
1996-09-10 20:01:28 +00:00
Jim Blandy
07fc1e2078
.
1996-09-10 19:44:47 +00:00
Jim Blandy
2f3ed1ba2c
* files.c (scm_sys_delete_file): Moved to filesys.c.
...
File is now empty; deleted.
* files.h: Deleted.
* filesys.c: scm_sys_delete_file is now here. Remove
#if's; they seem to rely on remnants of an old portability
regimen. If the problems come up again, solve them properly,
using autoconf. Specifically: Don't test M_SYSV, and #define
remove to be unlink if it's #defined; don't use remove just
because HAVE_STDC_HEADERS is #defined.
* filesys.h: Add declarations for scm_sys_delete_file.
* Makefile.in (libobjs, inner_h_files, c_files, gen_c_files): Omit
files.o, files.h, files.c, and files.x.
* init.c: Don't #include "files.h", and don't call scm_init_files.
1996-09-10 19:44:09 +00:00
Jim Blandy
35440081d7
.
1996-09-10 19:23:47 +00:00
Jim Blandy
3e8a29f5f5
Use SCM_P instead of PROTO; the latter intrudes on the user's
...
namespace.
* params.h: Deleted; definition of SCM_P moved to...
* __scm.h: ... here, where it replaces PROTO macro.
* libguile.h, smob.h: Don't #include "params.h".
* continuations.c, error.h, feature.h, gc.c, gc.h, init.h, load.h,
smob.h: Fix prototypes accordingly.
* Makefile.in: Update dependencies.
(inner_h_files): Remove params.h.
1996-09-10 19:22:40 +00:00
Jim Blandy
c5d5195418
.
1996-09-10 19:09:18 +00:00
Jim Blandy
5e044c02d3
* eq.h, files.h, hashtab.h, load.h, mallocs.h, scmsigs.h,
...
simpos.h: #include "libguile/__scm.h".
1996-09-10 19:08:54 +00:00
Jim Blandy
fce59c93fc
* gc.c: #include "gc.h"; every module should include its header,
...
to let the compiler cross-check the declarations against the
definitions.
1996-09-10 19:06:45 +00:00
Jim Blandy
81643a3499
.
1996-09-10 02:45:38 +00:00
Jim Blandy
a8be22fe50
* init.c: Don't forget to #include smob.h and init.h.
...
* Makefile.in: Dependencies updated.
1996-09-10 02:45:29 +00:00
Jim Blandy
de15ba3ad6
.
1996-09-10 02:33:23 +00:00
Jim Blandy
dfc40e20f4
* stackchk.h: #include "libguile/debug.h",
1996-09-10 02:30:43 +00:00
Jim Blandy
16cd1abdd4
* smob.h: Use PROTO instead of #if __STDC__.
...
* smob.h: #include "ports.h", "genio.h", and "print.h", since
anyone who uses this file will need them to define the smob
printing functions. Also, get markers.h, since people will need
to #define the mark functions.
* smob.h (scm_ptobfuns, SCM_PTOBNUM): Definitions moved...
* ports.h: ... to here.
* debug.h: Don't #include "options.h"; the compiler won't be able
to find that once the headers are installed; instead, #include
"libguile/options.h".
* gc.h: Same, with marksweep.h.
* mbstrings.h: Same, with symbols.h.
* scmhob.h: Same, with _scm.h.
* smob.h: Same, with params.h.
1996-09-10 02:30:27 +00:00