unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* scm_done_malloc negatives [cvs]
@ 2003-08-08 22:04 Kevin Ryde
  2003-10-05 15:21 ` Marius Vollmer
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2003-08-08 22:04 UTC (permalink / raw)


In the cvs, does scm_done_malloc accept negative sizes?  It looks like
it might not, since it calls scm_gc_register_collectable_memory which
accepts only a plain unsigned size_t.

Would it be right (ie. compatible with past usage) to call the
"unregister" function for a negative?


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scm_done_malloc negatives [cvs]
  2003-08-08 22:04 scm_done_malloc negatives [cvs] Kevin Ryde
@ 2003-10-05 15:21 ` Marius Vollmer
  2004-02-16  0:46   ` Kevin Ryde
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Vollmer @ 2003-10-05 15:21 UTC (permalink / raw)


Kevin Ryde <user42@zip.com.au> writes:

> In the cvs, does scm_done_malloc accept negative sizes?  It looks like
> it might not, since it calls scm_gc_register_collectable_memory which
> accepts only a plain unsigned size_t.
>
> Would it be right (ie. compatible with past usage) to call the
> "unregister" function for a negative?

Yes, that would be better.  Could you make that change (if you haven't
already)?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scm_done_malloc negatives [cvs]
  2003-10-05 15:21 ` Marius Vollmer
@ 2004-02-16  0:46   ` Kevin Ryde
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Ryde @ 2004-02-16  0:46 UTC (permalink / raw)
  Cc: guile-devel

Marius Vollmer <mvo@zagadka.de> writes:
>
> Yes, that would be better.  Could you make that change (if you haven't
> already)?

I added a couple of likely lines.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-16  0:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-08 22:04 scm_done_malloc negatives [cvs] Kevin Ryde
2003-10-05 15:21 ` Marius Vollmer
2004-02-16  0:46   ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).