Ludovic Courtès escreveu:
>> * libguile/private-gc.h (nil): introduce scm_i_last_marked_cell_count,
>>   as a private mechanism for maintaining cell counts.  Previous
>>   versions incremented scm_cells_allocated in an inlined function, so
>>   loading dynamic objects of older GUILEs would break invariants.
> 
> OTOH, if we are to change the way `scm_cells_allocated' is used and
> don't want older code to interfere with that, it's safe the break the
> ABI here (we're on `master' after all).

If this is our stance, this looks like a good opportunity to take all
these variable private, and have people use gc-stats to get the data.

Providing direct access to variables is problematic from an API stability
point of view.

-- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen



Reply via email to