Branch: Tag:

2010-05-19

2010-05-19 09:32:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some autodoc updates regarding hash functions.

Rev: src/builtin_functions.c:1.700
Rev: src/program.c:1.777

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: builtin_functions.c,v 1.699 2010/03/30 11:54:56 peter Exp $ + || $Id: builtin_functions.c,v 1.700 2010/05/19 09:32:22 grubba Exp $   */      #include "global.h"
341:    *! The hash algorithm was also changed in Pike 7.1. If you want a hash    *! that is compatible with Pike 7.0 and earlier, use @[7.0::hash()].    *! +  *! @note +  *! This hash function differs from the one provided by @[hash_value()], +  *! in that @[hash_value()] returns a process specific value. +  *!    *! @seealso    *! @[7.0::hash()], @[7.4::hash()], @[hash_value]    */
397:    *! for the hash value).    *!    *! If the value is an object with an @[lfun::__hash], that function -  *! is called and its result is returned. +  *! is called and its result returned.    *!    *! @note -  *! This is the hashing method used by mappings. +  *! This is the hashing method used by mappings.    *!    *! @seealso -  *! @[hash] +  *! @[hash()], @[lfun::__hash()]    */   void f_hash_value(INT32 args)   {