mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
*** empty log message ***
This commit is contained in:
parent
2d5881d5fe
commit
52591c8068
2 changed files with 39 additions and 1 deletions
6
HACKING
6
HACKING
|
@ -125,5 +125,11 @@ same when you add new procedures/C functions for debugging purpose.
|
||||||
You can define the GUILE_DEBUG flag by passing --enable-guile-debug to
|
You can define the GUILE_DEBUG flag by passing --enable-guile-debug to
|
||||||
the configure script.
|
the configure script.
|
||||||
|
|
||||||
|
- You'll see uses of the macro SCM_P scattered throughout the code;
|
||||||
|
those are vestiges of a time when Guile was meant to compile on
|
||||||
|
pre-ANSI compilers. Guile now requires ANSI C, so when you write new
|
||||||
|
functions, feel free to use ANSI declarations, and please provide
|
||||||
|
prototypes for everything.
|
||||||
|
|
||||||
|
|
||||||
Jim Blandy
|
Jim Blandy
|
||||||
|
|
|
@ -1,4 +1,36 @@
|
||||||
1998-09-05 Jim Blandy <jimb@zwingli.cygnus.com>
|
1998-09-06 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
|
* objects.h (scm_set_object_procedure_x, scm_make_class_object,
|
||||||
|
scm_make_subclass_object): Add external prototypes.
|
||||||
|
|
||||||
|
* numbers.c (scm_mkbig): Add cast, and note that signed/unsigned
|
||||||
|
comparison is okay here.
|
||||||
|
|
||||||
|
* numbers.c (scm_istr2int): Add cast; len is known to be positive.
|
||||||
|
|
||||||
|
* numbers.c (scm_bigcomp): Clarify logic, and avoid relying on the
|
||||||
|
(true, but confusing) fact that -1 == ((unsigned) 0 - 1).
|
||||||
|
|
||||||
|
* numbers.c (scm_adjbig): Make nsiz an scm_sizet, to avoid mixing
|
||||||
|
signed/unsigned.
|
||||||
|
|
||||||
|
* load.c (swap_port): Make this function static.
|
||||||
|
|
||||||
|
* load.c (scm_search_path): Make max_path_len and max_ext_len
|
||||||
|
unsigned, since they're compared against string sizes.
|
||||||
|
|
||||||
|
* load.c (init_build_info): Make i unsigned.
|
||||||
|
|
||||||
|
* ioext.h (scm_read_line): Add prototype.
|
||||||
|
|
||||||
|
* hashtab.c (scm_hash_fn_get_handle, scm_hash_fn_create_handle_x,
|
||||||
|
scm_hash_fn_remove_x): Make hash bucket index local variable k
|
||||||
|
unsigned. Use scm_ulong2num to pass it to SCM_ASSERT as
|
||||||
|
accurately as possible.
|
||||||
|
|
||||||
|
* gh_data.c (gh_set_substr): Add casts to avoid signed/unsigned
|
||||||
|
comparisons, and range checking to make sure those casts are
|
||||||
|
harmless.
|
||||||
|
|
||||||
* stackchk.h (SCM_STACK_OVERFLOW_P): Change definition to avoid
|
* stackchk.h (SCM_STACK_OVERFLOW_P): Change definition to avoid
|
||||||
signed/unsigned comparisons.
|
signed/unsigned comparisons.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue