pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: gc.c,v 1.308 2008/05/03 16:02:06 grubba Exp $ + || $Id: gc.c,v 1.309 2008/05/03 21:56:53 nilsson Exp $   */      #include "global.h"      struct callback *gc_evaluator_callback=0;      #include "array.h"   #include "multiset.h"   #include "mapping.h"   #include "object.h"
pike.git/src/gc.c:4068:    *! for them.    *!    *! Integers are allowed because they are bignum objects when they    *! become sufficiently large. However, passing an integer that is    *! small enough to fit into the native integer type will return    *! zero.    *!    *! @note    *! The result of @expr{Pike.count_memory(0,a,b)@} might be larger    *! than the sum of @expr{Pike.count_memory(0,a)@} and -  *! @expr{Pike.count_memory(0,b)@} since @expt{a@} and @expr{b@} +  *! @expr{Pike.count_memory(0,b)@} since @expr{a@} and @expr{b@}    *! together might reference things that aren't referenced from    *! anywhere else.    *!    *! @note    *! It's possible that a string that is referenced still isn't    *! counted, because strings are always shared in Pike and the same    *! string might be used in some unrelated part of the program.    */   void f_count_memory (INT32 args)   {