diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1999-08-30 02:14:47 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1999-08-30 02:14:47 +0000 |
commit | 97056309c31e846484327f6d460bce491db68f4f (patch) | |
tree | 9f781d3b309ee28c2f81bc5f9b0d8fb01b7c114b /libguile/struct.c | |
parent | 681b9005909f9f988aa8f8eb4bf66a9c96ce168f (diff) | |
download | guile-97056309c31e846484327f6d460bce491db68f4f.tar.gz |
* struct.c, struct.h (scm_struct_free_0, scm_struct_free_light,
scm_struct_free_standard, scm_struct_free_entity): Declared to
return scm_sizet instead of size_t.
Diffstat (limited to 'libguile/struct.c')
-rw-r--r-- | libguile/struct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/struct.c b/libguile/struct.c index 295665e3d..dfa414627 100644 --- a/libguile/struct.c +++ b/libguile/struct.c @@ -331,20 +331,20 @@ scm_alloc_struct (int n_words, int n_extra, char *who) return p; } -size_t +scm_sizet scm_struct_free_0 (SCM *vtable, SCM *data) { return 0; } -size_t +scm_sizet scm_struct_free_light (SCM *vtable, SCM *data) { free (data); return vtable[scm_struct_i_size] & ~SCM_STRUCTF_MASK; } -size_t +scm_sizet scm_struct_free_standard (SCM *vtable, SCM *data) { size_t n = ((data[scm_struct_i_n_words] + scm_struct_n_extra_words) @@ -353,7 +353,7 @@ scm_struct_free_standard (SCM *vtable, SCM *data) return n; } -size_t +scm_sizet scm_struct_free_entity (SCM *vtable, SCM *data) { size_t n = ((data[scm_struct_i_n_words] + scm_struct_entity_n_extra_words) |