Mikael Djurfeldt
d24e234450
* Makefile.am: Added debug-malloc.c, debug-malloc.h,
...
debug-malloc.x.
2000-04-21 00:26:13 +00:00
Dirk Herrmann
4219f20d15
Added documentation strings and reordered some dispatch sequences.
2000-04-20 15:51:09 +00:00
Dirk Herrmann
195e620170
Some cleanups with regard to the use of SCM2PTR and casts to SCM_CELLPTR.
2000-04-19 16:47:11 +00:00
Dirk Herrmann
9e882eeca8
Again, SCM/scm_bits_t mixup fixes.
2000-04-19 11:32:05 +00:00
Dirk Herrmann
3201d76356
* Another couple of SCM/scm_bits_t cleanups.
...
* eval.c: replaced undef_cell by undef_object.
* eval.c: made some struct vcell accesses explicit.
2000-04-19 09:37:48 +00:00
Mikael Djurfeldt
f7c38587a9
*** empty log message ***
2000-04-19 03:31:02 +00:00
Mikael Djurfeldt
cfe66b7276
* struct.c (scm_struct_free_light, scm_struct_free_standard,
...
scm_struct_free_entity): Use `scm_must_free' instead of `free'.
2000-04-19 03:28:21 +00:00
Mikael Djurfeldt
495ffc6ec5
* numbers.c (scm_adjbig): Tell scm_must_realloc "what" instead of "who".
2000-04-19 03:26:13 +00:00
Mikael Djurfeldt
221c64975f
* procs.c (scm_make_subr_opt): Tell scm_must_realloc that we're
...
realloc:ing scm_subr_table ("what" instead of "who").
2000-04-19 03:25:22 +00:00
Dirk Herrmann
baa702c81f
Fixed a stupid bug introduced with the last patch. Sorry.
2000-04-18 15:49:34 +00:00
Greg J. Badros
120d4924ed
* validate.h: Do not cast to (unsigned) in SCM_VALIDATE_INUM_RANGE
...
when testing high-end of the range. Mikael Djurfeldt noticed this
anomaly -- thanks Mikael!
2000-04-18 15:23:11 +00:00
Dirk Herrmann
fee7ef83a3
Fixed some SCM/scm_bits_t mixups.
2000-04-18 14:12:07 +00:00
Mikael Djurfeldt
9d0633a8a6
*** empty log message ***
2000-04-18 11:30:35 +00:00
Mikael Djurfeldt
1dafc56acd
* script.c (scm_compile_shell_switches): Also enable
...
record-positions when given the --debug option. (Thanks to Diego
Dainese.)
2000-04-18 11:30:00 +00:00
Dirk Herrmann
230d095fc5
Fixed some SCM/scm_bits_t mixups and initialization problems.
2000-04-18 07:24:24 +00:00
Dirk Herrmann
c8045e8dbd
* struct.c, struct.h: Struct data regions (and thus also vtable data regions)
...
are now C arrays of scm_bits_t elements.
* gc.c: Made the mixup of glocs and structs explicit.
2000-04-17 16:25:11 +00:00
Dirk Herrmann
b0c545678a
* eval.c (scm_unmemocar): Use macros to test for gloc cell.
...
* eval.h (SCM_IFRAME, SCM_IDIST), weaks.h (SCM_IS_WHVEC_ANY): Added missing
call to SCM_UNPACK.
2000-04-17 15:05:20 +00:00
Mikael Djurfeldt
2891588bee
Renamed SCM_VALIDATE_REAL_COPY --> SCM_VALIDATE_REAL_NUMBER.
2000-04-17 03:17:02 +00:00
Mikael Djurfeldt
7aac9824fd
*** empty log message ***
2000-04-17 02:55:28 +00:00
Mikael Djurfeldt
1a94d96127
* validate.h (SCM_VALIDATE_INUM_RANGE_COPY,
...
SCM_VALIDATE_REAL_COPY): New macros.
2000-04-17 02:55:00 +00:00
Mikael Djurfeldt
b9c90f11b9
*** empty log message ***
2000-04-16 23:02:04 +00:00
Mikael Djurfeldt
7642eb4b33
* validate.h (SCM_VALIDATE_INUM_RANGE_COPY): New macro.
2000-04-16 23:01:51 +00:00
Mikael Djurfeldt
9ae58e2da7
*** empty log message ***
2000-04-16 14:22:30 +00:00
Mikael Djurfeldt
d150e49165
* script.c (scm_compile_shell_switches): Added --debug option.
2000-04-16 14:22:22 +00:00
Mikael Djurfeldt
49e12eb35a
*** empty log message ***
2000-04-15 22:24:29 +00:00
Mikael Djurfeldt
60c497a3ec
* vectors.c (scm_vector_set_x): Return SCM_UNSPECIFIED (as
...
specified by R5RS).
2000-04-15 22:24:14 +00:00
Mikael Djurfeldt
7c1e0b12a3
*** empty log message ***
2000-04-15 19:34:09 +00:00
Mikael Djurfeldt
39bcc76e45
* validate.h (SCM_VALIDATE_INPUT_PORT, SCM_VALIDATE_OUTPUT_PORT):
...
New macros.
Cleanup of code layout.
2000-04-15 19:30:16 +00:00
Mikael Djurfeldt
df97587f22
* ports.h (SCM_INPUT_PORT_P, SCM_OUTPUT_PORT_P): New macros.
...
(SCM_INPORTP, SCM_OUTPORTP): Marked as deprecated.
* ports.c, ports.h (close-input-port, close-output-port): New R5RS
procedures.
2000-04-15 19:29:58 +00:00
Mikael Djurfeldt
7a754ca6c2
* ports.c, ports.h (close-input-port, close-output-port): New R5RS
...
procedures.
2000-04-15 19:29:47 +00:00
Dirk Herrmann
01c8a3dd96
* Made scm_dynthrow static.
...
* Simplified and optimized the continuation calling code.
2000-04-13 12:02:18 +00:00
Mikael Djurfeldt
553f441497
*** empty log message ***
2000-04-13 03:45:07 +00:00
Mikael Djurfeldt
e2d373365b
* unif.c, unif.h (shared-array-root, shared-array-offset,
...
shared-array-increments): New primitives.
2000-04-13 03:44:51 +00:00
Mikael Djurfeldt
a401a730c9
Typo
2000-04-13 00:29:22 +00:00
Dirk Herrmann
cf551a2be9
The msymbol slots are now a field of scm_bits_t values.
2000-04-12 12:48:11 +00:00
Dirk Herrmann
12a8b76952
Fix some SCM/scm_bits_t mismatches.
2000-04-12 09:58:43 +00:00
Dirk Herrmann
d8c40b9f49
The struct data is now an array of scm_bits_t variables.
2000-04-12 01:19:49 +00:00
Dirk Herrmann
1c3e63f06d
The struct vtable data is now an array of scm_bits_t variables.
2000-04-11 22:36:55 +00:00
Dirk Herrmann
bc66755eef
Don't use C operators to compare SCM values.
2000-04-11 13:45:01 +00:00
Dirk Herrmann
828865c30d
* (scm_quotient, scm_modulo): Reordered to handle the case of immediate
...
numbers parameters first. Also, only use decoded numbers for numerical
comparison.
2000-04-11 13:00:15 +00:00
Mikael Djurfeldt
1cf49a85c9
* objects.h: Don't redeclare scm_call_generic_0 and
...
scm_apply_generic. (Thanks to Tal Tversky.)
2000-04-10 20:37:48 +00:00
Dirk Herrmann
dba97178b1
scm_hasher: Use symbolic names for the tc3 constants and some SCM usage
...
cleanups.
2000-04-10 14:29:26 +00:00
Mikael Djurfeldt
3da01fa367
*** empty log message ***
2000-04-10 12:38:19 +00:00
Mikael Djurfeldt
51523cd1f2
* coop.c (mother): Handled EINTR (the wait has been interrupted by
...
a signal).
2000-04-10 12:35:57 +00:00
Dirk Herrmann
451e591cdd
Some SCM/scm_bits_t type strictness fixes.
2000-04-07 10:41:39 +00:00
Michael Livshin
e94e3f21d6
* async.[ch]: unexpose low-level async access macros (thanks to
...
Dirk Herrmann).
* validate.h: move async validation macros to async.c (nobody else
needs them anyway), and rename them.
2000-04-05 15:28:28 +00:00
Michael Livshin
843e4e9d17
* async.h: kill the scm_async_t struct. having a heap cell
...
pretending to be a C struct is not helthy, and is not needed here
anyway, as asyncs happily fit in one heap cell.
* async.c: reflect the fact that asyncs are now represented by
single heap cell each.
2000-04-04 20:07:11 +00:00
Gary Houston
873c35ee82
*** empty log message ***
2000-04-04 19:12:59 +00:00
Gary Houston
1de052a72c
* error.c (scm_syserror): save errno before doing anything else,
...
since it's used in two expressions and may get mutated (thanks to
Dirk Herrmann).
2000-04-04 19:11:58 +00:00
Dirk Herrmann
4260a7fced
Lots of fixes with respect to strict typing.
2000-04-04 12:13:41 +00:00