Branch: Tag:

2008-10-12

2008-10-12 22:14:03 by Martin Stjernholm <mast@lysator.liu.se>

Added pike_cycle_depth constants to make Pike.count_memory avoid the most
central global structures.

Rev: server/base_server/configuration.pike:1.658
Rev: server/base_server/module.pike:1.232
Rev: server/base_server/roxen.pike:1.996
Rev: server/etc/modules/RXML.pmod/module.pmod:1.378
Rev: server/etc/modules/RXML.pmod/utils.pmod:1.35
Rev: server/etc/modules/Roxen.pmod:1.249

7:   //!   //! Created 2000-01-21 by Martin Stjernholm   //! - //! $Id: utils.pmod,v 1.34 2008/09/28 12:10:07 mast Exp $ + //! $Id: utils.pmod,v 1.35 2008/10/12 22:14:03 mast Exp $      constant is_RXML_encodable = 1;   
17:      constant short_format_length = 40;    + // Tell Pike.count_memory this is global. + constant pike_cycle_depth = 0; +    final string format_short (mixed val, void|int length)   // This one belongs somewhere else..   {