Branch: Tag:

2008-06-28

2008-06-28 22:05:04 by Martin Stjernholm <mast@lysator.liu.se>

Some more static -> protected.

Rev: src/builtin.cmod:1.216
Rev: src/builtin_functions.c:1.677
Rev: src/iterators.cmod:1.69
Rev: src/language.yacc:1.438
Rev: src/mklibpike.pike:1.5
Rev: src/operators.c:1.235
Rev: src/threads.c:1.258

2:   || 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: operators.c,v 1.234 2008/06/16 21:52:24 mast Exp $ + || $Id: operators.c,v 1.235 2008/06/28 22:05:04 mast Exp $   */      #include "global.h"
4943:    *!    *! @mixed arg    *! @type object -  *! The non-static (i.e. public) symbol named @[index] is looked -  *! up in @[arg]. +  *! The non-protected (i.e. public) symbol named @[index] is +  *! looked up in @[arg].    *!    *! @type int    *! The bignum function named @[index] is looked up in @[arg].
4978:    *! Otherwise @expr{UNDEFINED@} is returned.    *!    *! @type program -  *! The non-static (i.e. public) constant symbol @[index] is +  *! The non-protected (i.e. public) constant symbol @[index] is    *! looked up in @[arg].    *!    *! @endmixed
5047:    *! Otherwise the result will be as follows:    *! @mixed arg    *! @type object -  *! The non-static (ie public) symbol named @[index] will be looked up -  *! in @[arg]. +  *! The non-protected (ie public) symbol named @[index] will be +  *! looked up in @[arg].    *! @type int    *! The bignum function named @[index] will be looked up in @[arg].    *! @type array
5061:    *! If @[index] exists in @[arg], @expr{1@} will be returned.    *! Otherwise @expr{UNDEFINED@} will be returned.    *! @type program -  *! The non-static (ie public) constant symbol @[index] will be -  *! looked up in @[arg]. +  *! The non-protected (ie public) constant symbol @[index] will +  *! be looked up in @[arg].    *! @endmixed    *!    *! @note
5113:    *!    *! @mixed arg    *! @type object -  *! The non-static (ie public) variable named @[index] will be looked up -  *! in @[arg], and assigned @[val]. +  *! The non-protected (ie public) variable named @[index] will +  *! be looked up in @[arg], and assigned @[val].    *! @type array|mapping    *! Index @[index] in @[arg] will be assigned @[val].    *! @type multiset
5172:    *!    *! @mixed arg    *! @type object -  *! The non-static (ie public) variable named @[index] will be looked up -  *! in @[arg], and assigned @[val]. +  *! The non-protected (ie public) variable named @[index] will +  *! be looked up in @[arg], and assigned @[val].    *! @type array|mapping    *! Index @[index] in @[arg] will be assigned @[val].    *! @type multiset
5236:    *! The number of key-value pairs in @[arg] will be returned.    *! @type object    *! If @[arg] implements @[lfun::_sizeof()], that function will -  *! be called. Otherwise the number of non-static (ie public) +  *! be called. Otherwise the number of non-protected (ie public)    *! symbols in @[arg] will be returned.    *! @endmixed    *!