Re: [Gc] getters and setters in misc.c

Ivan Maidanski ivmai at mail.ru
Thu Jun 11 22:34:32 PDT 2009


Hi!

"Boehm, Hans" <hans.boehm at hp.com> wrote:
> ...
> I think I would rather see separate getters and setters everywhere, and avoid the special arguments completely.  This is probably an API change in a few cases already, but I think it's better to do this now than later.  We should probably add error checks for what used tobe the special values.
> 
> I'd love to see a patch that either did this, or cleaned up this part of the API in some other way.  I don't believe such a patch is currently pending.
> 
> Thanks in advance to anyone with the time to do this.
> 
> Hans

Ok. As most of these ones are introduced by myself lately, I'll do.
I'll split them (adding assertions for that special values) and add the missing getters/setter for the public R/W vars.

Bye.


More information about the Gc mailing list