pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:499:    *! is called and its result returned.    *!    *! @note    *! This is the hashing method used by mappings.    *!    *! @seealso    *! @[lfun::__hash()]    */   void f_hash_value(INT32 args)   { -  unsigned INT32 h; +  size_t h;       if(!args)    SIMPLE_WRONG_NUM_ARGS_ERROR("hash_value",1);       h = hash_svalue (Pike_sp - args);    pop_n_elems (args); -  +  /* NB: We assume that INT_TYPE has the same width as size_t. */    push_int (h);   }      /*! @decl mixed copy_value(mixed value)    *!    *! Copy a value recursively.    *!    *! If the result value is changed destructively (only possible for    *! multisets, arrays and mappings) the copied value will not be changed.    *!